forked from seqan/lambda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
69 lines (62 loc) · 2.55 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
sudo: false
language: cpp
matrix:
include:
- os: linux
compiler: gcc-4.9
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-4.9', 'cmake', 'cmake-data', 'zlib1g-dev', 'libbz2-dev', 'libboost-dev', 'python', 'python-nose', 'python-jinja2', 'python-pip']
install: export CXX="g++-4.9"
env: CMAKE_ARGS="-DLAMBDA_STATIC_BUILD=1"
- os: linux
compiler: gcc-5
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-5', 'cmake', 'cmake-data', 'zlib1g-dev', 'libbz2-dev', 'libboost-dev', 'python', 'python-nose', 'python-jinja2', 'python-pip']
install: export CXX="g++-5"
env: CMAKE_ARGS="-DLAMBDA_MULTIOPT_BUILD=1"
- os: linux
compiler: gcc-7
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-7', 'cmake', 'cmake-data', 'zlib1g-dev', 'libbz2-dev', 'libboost-dev', 'python', 'python-nose', 'python-jinja2', 'python-pip']
install: export CXX="g++-7"
env: CMAKE_ARGS="-DCMAKE_CXX_FLAGS=-std=c++17"
- os: linux
compiler: clang-3.9
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-3.9']
packages: ['clang-3.9', 'g++-7', 'cmake', 'cmake-data', 'zlib1g-dev', 'libbz2-dev', 'libboost-dev', 'python', 'python-nose', 'python-jinja2', 'python-pip'] # g++ required for newer libstdc++
install: export CXX="clang++-3.9"
- os: linux
compiler: clang-5
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-7', 'cmake', 'cmake-data', 'zlib1g-dev', 'libbz2-dev', 'libboost-dev', 'python', 'python-nose', 'python-jinja2', 'python-pip'] # g++ required for newer libstdc++
install: export CXX="/usr/local/clang-5.0.0/bin/clang++"
env: CMAKE_ARGS="-DCMAKE_BUILD_TYPE=RelWithDebInfo" LD_LIBRARY_PATH="/usr/local/clang-5.0.0/lib/:${LD_LIBRARY_PATH}"
- os: osx
compiler: gcc-4.9
before_install:
- brew update
- brew install [email protected]
install: export CXX="g++-4.9"
env: CMAKE_ARGS="-DLAMBDA_FASTBUILD=1 -DLAMBDA_STATIC_BUILD=1"
- os: osx
compiler: gcc-7
before_install:
- brew update
- brew install gcc@7
install: export CXX="g++-7"
env: CMAKE_ARGS="-DLAMBDA_FASTBUILD=1"
script:
- mkdir -p build && cd build
- cmake .. -DLAMBDA_NATIVE_BUILD=0 -DLAMBDA_COMPILE_THREADS=2 ${CMAKE_ARGS}
- travis_wait make VERBOSE=1 # need to prefix with travis_wait because it might take > 10min
- ctest .