-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
43 lines (35 loc) · 908 Bytes
/
.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
dist: trusty
sudo: required
os:
- linux
- osx
language: cpp
compiler:
- gcc
- clang
env:
- TARGET_CPU=amd64 BUILD_CONFIGURATION=Debug
- TARGET_CPU=amd64 BUILD_CONFIGURATION=Release
- TARGET_CPU=x86 BUILD_CONFIGURATION=Debug
- TARGET_CPU=x86 BUILD_CONFIGURATION=Release
matrix:
exclude:
- os: osx
compiler: gcc
- os: osx
env: TARGET_CPU=x86 BUILD_CONFIGURATION=Debug
- os: osx
env: TARGET_CPU=x86 BUILD_CONFIGURATION=Release
before_install:
- echo $TRAVIS_OS_NAME
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then brew update; fi
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then sudo apt-get update -qq; fi
install:
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then brew upgrade cmake; fi
script:
- mkdir build
- cd ./build
- cmake .. -DCMAKE_BUILD_TYPE=$BUILD_CONFIGURATION -DBUILD_TESTS=YES
- make
- cd ./test
- ./Test --rng-seed time