-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 950 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
language: cpp
compiler:
- gcc
os:
- linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- boost-latest
packages:
- gcc-5
- g++-5
- libboost1.55-dev
- libboost-atomic1.55-dev
- libboost-chrono1.55-dev
- libboost-date-time1.55-dev
- libboost-filesystem1.55-dev
- libboost-log1.55-dev
- libboost-program-options1.55-dev
- libboost-regex1.55-dev
- libboost-system1.55-dev
- libboost-thread1.55-dev
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libgtest-dev
- "cd /usr/src/gtest && sudo cmake . && sudo cmake --build . && sudo mv libg* /usr/local/lib/ ; cd -"
- sudo pip install cpp-coveralls
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-5" ; fi
script: "scons test"
after_script:
- "cat config.log"
after_success:
- coveralls --gcov `which gcov-5` --gcov-options '\-lp' -b `pwd` -e .sconf_temp -e googletest