forked from exercism/cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
39 lines (35 loc) · 862 Bytes
/
Copy path.travis.yml
File metadata and controls
39 lines (35 loc) · 862 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
dist: trusty
sudo: false
language: cpp
matrix:
include:
# GCC 4.9
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env: MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
# Clang 3.8
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- clang-3.8
env: MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
before_install:
- sudo add-apt-repository -y ppa:samuel-bachmann/boost
- sudo apt-get -y -d update
- eval "${MATRIX_EVAL}"
install:
- sudo apt-get -y install libboost-regex1.60-dev libboost-test1.60-dev libboost-date-time1.60-dev
script:
- bin/fetch-configlet
- bin/configlet lint .
- cmake -G "Unix Makefiles"
- make