-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.travis.yml
51 lines (42 loc) · 1.06 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
sudo: required
language: cpp
compiler: gcc
branches:
only:
- unstable
os:
- linux
- osx
env:
- BUILD_WITH_SERIALIZATION_WO_PYTHON=true
PYTHON_VERSION="none"
- BUILD_WITH_SERIALIZATION_WO_PYTHON=false
PYTHON_VERSION="2"
- BUILD_WITH_SERIALIZATION_WO_PYTHON=false
PYTHON_VERSION="3"
matrix:
exclude:
- os: osx
env: BUILD_WITH_SERIALIZATION_WO_PYTHON=true
PYTHON_VERSION="none"
- os: osx
env: BUILD_WITH_SERIALIZATION_WO_PYTHON=false
PYTHON_VERSION="3"
before_install:
- source build_support/travis/prepare_install.sh
- mkdir build
- cd build
install:
- source ../build_support/travis/install.sh
## Python (must be setup after boost was installed).
- source ../build_support/travis/setup_python.sh
before_script:
- export OMP_NUM_THREADS=2
- export CTEST_OUTPUT_ON_FAILURE=1
- export CTEST_PARALLEL_LEVEL=1
script:
- source ../build_support/travis/cmake_call.sh
- cmake --build . -- -j2
- cmake --build . --target test
after_failure:
- cat CMakeFiles/CMakeOutput.log