-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
42 lines (41 loc) · 869 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
language: cpp
os:
- linux
compiler:
- gcc
- clang++
cache:
apt: true
addons:
apt:
sources:
- boost-latest
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
- libboost1.55-all-dev
before_install:
- pwd
- ls
- if [ "$CXX" = "g++" ]; then sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9; fi
- sudo apt-get update
- sudo apt-get install libgtest-dev
- "pushd /usr/src/gtest && sudo cmake . && sudo cmake --build . && sudo mv libg* /usr/local/lib/ && popd"
before_script:
- pwd
- mkdir -p build/debug
- cd build/debug
script:
- cmake ../.. -DBUILD_TESTS=ON
- make
- make test
notifications:
recepients:
- sergei.a.fedorov@gmail.com
email:
on_success: change
on_failure: always
branches:
except:
- legacy