-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
55 lines (43 loc) · 1.15 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
language: cpp
compiler:
- g++
env:
global:
secure: UCL6P2+jglTd/qzlnx2gZ/mlS5W7AAtC8W5vePE+SmXVuVJLDEA96PJmKCi2t5MuYUhimJFZ4UsbTkQ7yZU7SjHeDN1YhOcK1dih0hPU9ml+Wcuplj4P3jL0UBFQmXbglup2VO3xjoxdEHCTlhQTm5WGg0M1n+Lx/P+n8vvixCk=
before_install:
- sudo add-apt-repository -y ppa:boost-latest/ppa
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
# GCC 4.9
- sudo apt-get install -qq g++-4.9 libstdc++-4.9-dev
- export CC="gcc-4.9"
- export CXX="g++-4.9"
- export GCOV="gcov-4.9"
# lcov 1.11
- wget http://ftp.de.debian.org/debian/pool/main/l/lcov/lcov_1.11.orig.tar.gz
- tar xf lcov_1.11.orig.tar.gz
- sudo make -C lcov-1.11/ install
# Boost, GMP
- sudo apt-get install -qq boost1.55 libgmp-dev
# Coveralls
- gem install coveralls-lcov
script:
- make tests
- make
after_success:
- ${GCOV} --version
- lcov --version
- make coverage GCOV=${GCOV}
- coveralls-lcov --repo-token ${COVERALLSTOKEN} build/coverage.info
cache:
- apt
notifications:
email:
on_failure: change
webhooks:
urls:
- https://webhooks.gitter.im/e/08d9936d9d017472517e
on_success: change
on_failure: always
on_start: false