-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
56 lines (48 loc) · 1.29 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
# Dicey travis.yml
language: cpp
matrix:
include:
- env: MYCC="gcc-4.8" MYCXX="g++-4.8"
os: linux
addons: &gcc48
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- env: MYCC="gcc-5" MYCXX="g++-5"
os: linux
addons: &gcc5
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- env: MYCC="gcc-6" MYCXX="g++-6"
os: linux
addons: &gcc6
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- env: MYCC="gcc-9" MYCXX="g++-9"
os: linux
addons: &gcc9
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-9
- env: MYCC="gcc" MYCXX="g++"
os: osx
osx_image: xcode11.3
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq liblzma-dev libbz2-dev libboost-dev libboost-date-time-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libboost-iostreams-dev libboost-thread-dev; fi
before_script:
- export CXX=$MYCXX
- export CC=$MYCC
- $CXX --version
script:
- make all