-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
52 lines (47 loc) · 1.14 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
# http://docs.travis-ci.com/user/build-configuration/
language: cpp
sudo: false
matrix:
include:
# works on Precise and Trusty
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- libunittest++-dev
env:
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
after_success:
- make coverage
- coveralls
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- libunittest++-dev
env:
- MATRIX_EVAL="CC=clang && CXX=clang++"
before_install:
- eval "${MATRIX_EVAL}"
- pip install --user cpp-coveralls
- export UNITTEST_CPP_INCLUDE=/usr/include/unittest++
script:
- make tests
notifications:
irc:
channels:
# - "irc.freenode.org#imaginaerraum"
skip_join: true
use_notice: true
template:
#- "[%{commit}: %{author}] %{message}"
#- "%{build_url}"
- "[%{repository_slug}#%{branch} @%{commit}] (%{author}): %{message}"
- "Diff: %{compare_url}"
- "Build: %{build_url}"