-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
56 lines (46 loc) · 1.4 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
# Halo build script
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" MYCXX="g++"
os: osx
osx_image: xcode8.3
- env: MYCC="gcc" MYCXX="g++"
os: osx
osx_image: xcode7.3
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo rm /etc/apt/sources.list.d/mongodb-3.4.list; fi
- 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; 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:
- cd cli && make all