forked from exercism/cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (51 loc) · 1.15 KB
/
.travis.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
dist: trusty
sudo: false
language: cpp
os: linux
matrix:
include:
- env: COMPILER=g++-5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- env: COMPILER=clang++-3.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- clang-3.8
- g++-5
- env:
- COMPILER=clang++-7
- EXERCISM_COMMON_CATCH=false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-7
packages:
- clang-7
- env: COMPILER=g++-8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
before_install:
- sudo add-apt-repository -y ppa:samuel-bachmann/boost
- sudo apt-get -y -d update
install:
- sudo apt-get -y install cmake3 ninja-build libboost-date-time1.60-dev
- export CXX=${COMPILER}
- ${CXX} --version
script:
- bin/fetch-configlet
- bin/configlet lint .
- bin/check-configlet-fmt.sh
- bin/check-exercises.sh