forked from reactorlabs/rir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (55 loc) · 1.21 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
dist: trusty
language: cpp
os:
- osx
- linux
compiler:
- clang
- gcc
env:
- CORES=3 CHECK=check BUILD=release
- CORES=3 CHECK=check BUILD=debug
- CHECK=test-all-devel BUILD=release
- CHECK=check-recommended BUILD=release
matrix:
exclude:
- os: osx
compiler: gcc
- os: linux
compiler: clang
- os: linux
env: CORES=3 CHECK=check BUILD=release
- os: osx
env: CORES=3 CHECK=check BUILD=debug
- os: osx
env: CHECK=test-all-devel BUILD=release
- os: osx
env: CHECK=check-recommended BUILD=release
addons:
apt:
packages:
- xdg-utils
- gfortran
- subversion
- make
- r-base-dev
- liblzma-dev
- sed
- binutils
- curl
- cmake
- rsync
- xorg-dev
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then . ./tools/ci/before_install-osx.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then . ./tools/ci/before_install-linux.sh; fi
before_script:
- cmake -DCMAKE_BUILD_TYPE=$BUILD .
- make setup
- make -j4
script:
- ./tools/tests
- echo "running make $CHECK on a $BUILD build with CORES=$CORES"
- TEST_MC_CORES=$CORES ./tools/gnur-make-tests $CHECK
cache:
- ccache