forked from Shark-ML/Shark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (56 loc) · 1.35 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
language: cpp
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:boost-latest/ppa'
- sourceline: 'ppa:kubuntu-ppa/backports'
- sourceline: 'ppa:roblib/ppa'
packages:
- cmake
- g++-4.8
- g++-6
- g++-4.6
- libboost1.55-dev
- libboost-date-time1.55-dev
- libboost-filesystem1.55-dev
- libboost-graph1.55-dev
- libboost-iostreams1.55-dev
- libboost-math1.55-dev
- libboost-program-options1.55-dev
- libboost-random1.55-dev
- libboost-regex1.55-dev
- libboost-serialization1.55-dev
- libboost-system1.55-dev
- libboost-test1.55-dev
- libboost-thread1.55-dev
matrix:
include:
- os: linux
env:
- COMPILER=g++-6
- OMP_NUM_THREADS=2
- os: linux
env:
- COMPILER=g++-4.8
- OMP_NUM_THREADS=2
- os: linux
env:
- COMPILER=g++-4.6
- OMP_NUM_THREADS=2
- os: osx
env:
- COMPILER=clang++
- OMP_NUM_THREADS=2
before_install:
- if [ "$TRAVIS_OS_NAME" != "linux" ]; then brew update && brew unlink cmake && brew install cmake; brew link cmake; fi
before_script:
- echo $COMPILER
- export CXX=$COMPILER
- mkdir build
- cd build
- cmake ..
script:
- make -j2
- CTEST_OUTPUT_ON_FAILURE=TRUE make test