-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (43 loc) · 1.25 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
# rdxon build script
dist: bionic
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-6" MYCXX="g++-6"
os: linux
addons: &gcc6
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- env: MYCC="gcc-8" MYCXX="g++-8"
os: linux
addons: &gcc8
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
- 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-serialization-dev; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install xz; fi
before_script:
- export CXX=$MYCXX
- export CC=$MYCC
- $CXX --version
script:
- make all