-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
74 lines (73 loc) · 2.65 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
sudo: required
dist: trusty
language: cpp
before_install:
- test $(uname) = "Linux" && sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test || true
- test $(uname) = "Linux" && sudo add-apt-repository -y ppa:george-edison55/cmake-3.x || true
- test $(uname) = "Linux" && sudo add-apt-repository -y 'deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.8 main' || true
- test $(uname) = "Linux" && sudo add-apt-repository -y 'deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.9 main' || true
- test $(uname) = "Linux" && wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - || true
- test $(uname) = "Linux" && sudo apt-get update -y || true
- test $(uname) = "Linux" && sudo apt-get install -qq -y g++-4.9 g++-5 g++-6 clang-3.8 clang-3.9 cmake cmake-data zlib1g-dev libbz2-dev || true
- test $(uname) = "Darwin" && rm /usr/local/include/c++ || true
- test $(uname) = "Darwin" && brew update || true
- test $(uname) = "Darwin" && brew install [email protected] || true
- test $(uname) = "Darwin" && brew install gcc@5 || true
- test $(uname) = "Darwin" && brew install gcc@6 || true
- test $(uname) = "Darwin" && brew install gcc || true
matrix:
include:
- os: linux
compiler: gcc-4.9
install: export CXX="g++-4.9"
- os: linux
compiler: gcc-5
install: export CXX="g++-5"
- os: linux
compiler: gcc-6
install: export CXX="g++-6"
- os: linux
compiler: clang-3.8
install: export CXX="clang++-3.8"
- os: linux
compiler: clang-3.9
install: export CXX="clang++-3.9"
- os: osx
compiler: gcc-4.9
install: export CXX="g++-4.9"
- os: osx
compiler: gcc-5
install: export CXX="g++-5"
- os: osx
compiler: gcc-6
install: export CXX="g++-6"
- os: osx
compiler: gcc-7
install: export CXX="g++-7"
# not supported by travis
#- os: osx
# compiler: clang-3.6
# before_install:
# - sudo brew update
# - sudo brew tap homebrew/versions
# - sudo brew install llvm36
# install: ['export CXX="clang++-3.6"' ]
#- os: osx
# compiler: clang-3.7
# before_install:
# - sudo brew update
# - sudo brew tap homebrew/versions
# - sudo brew install llvm37
# install: ['export CXX="clang++-3.7"' ]
#- os: osx
# compiler: clang-3.8
# before_install:
# - sudo brew update
# - sudo brew tap homebrew/versions
# - sudo brew install llvm38
# install: export CXX="clang++-3.8" -DCMAKE_CXX_FLAGS="-L/usr/local/Cellar/llvm38/3.8.0/lib/llvm-3.8/lib"'
script:
- mkdir -p build && cd build
- cmake ..
- make vaquita VERBOSE=1
- ./bin/vaquita --help