-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy path.travis.yml
More file actions
82 lines (78 loc) · 3.06 KB
/
Copy path.travis.yml
File metadata and controls
82 lines (78 loc) · 3.06 KB
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
75
76
77
78
79
80
81
82
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" && brew update || true
- test $(uname) = "Darwin" && brew install gcc@4.9 || 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"
env: CMAKE_ARGS="-DLAMBDA_STATIC_BUILD=1"
- os: linux
compiler: gcc-5
install: export CXX="g++-5"
env: CMAKE_ARGS="-DCMAKE_BUILD_TYPE=RelWithDebInfo"
- 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"
env: CMAKE_ARGS="-DLAMBDA_FASTBUILD=1 -DLAMBDA_STATIC_BUILD=1"
#- os: osx
#compiler: gcc-5
#install: export CXX="g++-5"
#env: CMAKE_ARGS="-DLAMBDA_FASTBUILD=1"
#- os: osx
#compiler: gcc-6
#install: export CXX="g++-6"
#env: CMAKE_ARGS="-DLAMBDA_FASTBUILD=1"
- os: osx
compiler: gcc-7
install: export CXX="g++-7"
env: CMAKE_ARGS="-DLAMBDA_FASTBUILD=1"
#- 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" CMAKE_ARGS='-DLAMBDA_NATIVE_BUILD=0 -DLAMBDA_FASTBUILD=1 -DCMAKE_CXX_FLAGS="-L/usr/local/Cellar/llvm38/3.8.0/lib/llvm-3.8/lib"'
script:
- mkdir -p build && cd build
- cmake .. -DLAMBDA_NATIVE_BUILD=0 ${CMAKE_ARGS}
- make lambda_indexer VERBOSE=1
- travis_wait make lambda VERBOSE=1 # need to prefix with travis_wait because it might take > 10min
- ctest .