forked from ribtoks/chillout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (32 loc) · 978 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
sudo: false
language: cpp
matrix:
include:
- os: linux
compiler: gcc
sudo : true
env: BUILD_TYPE=Debug VERBOSE=1 GTEST_CATCH_EXCEPTIONS=0
- os: osx
compiler: clang
env: BUILD_TYPE=Debug VERBOSE=1 GTEST_CATCH_EXCEPTIONS=0
addons:
apt:
# List of whitelisted in travis packages for ubuntu-precise can be found here:
# https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise
# List of whitelisted in travis apt-sources:
# https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- g++-4.9
- clang-3.7
before_script:
- git submodule update --init --recursive
script:
- mkdir build && cd build
- cmake .. -DCMAKE_BUILD_TYPE="${BUILD_TYPE}"
- make
- make test ARGS=-V
after_success:
- for f in $(find ../src/tests -maxdepth 1 -name '*.bktr' -print); do cat "$f"; done;