-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
52 lines (47 loc) · 1.11 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
language: cpp
cache:
yarn: true
ccache: true
matrix:
include:
- os: linux
compiler: 'clang-5.0-debug'
addons:
apt:
sources:
- llvm-toolchain-trusty-5.0
- ubuntu-toolchain-r-test
packages:
- g++-7
- clang-5.0
- libboost-all-dev
- ccache
env: CCOMPILER=clang-5.0 CXXCOMPILER=clang++-5.0 BUILD_TYPE=Debug
- os: linux
compiler: 'clang-5.0-release'
addons:
apt:
sources:
- llvm-toolchain-trusty-5.0
- ubuntu-toolchain-r-test
packages:
- g++-7
- clang-5.0
- libboost-all-dev
- ccache
env: CCOMPILER=clang-5.0 CXXCOMPILER=clang++-5.0 BUILD_TYPE=Release
install:
- export CC=${CCOMPILER} CXX=${CXXCOMPILER}
- mkdir -p build
- pushd build
- cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
- cmake --build .
- popd
- pushd frontend
- yarn
- popd
script:
- ./build/common_tests
- ./build/ev_tests
- ./build/server_tests
- ./build/preprocessing_tests