-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
42 lines (35 loc) · 801 Bytes
/
.travis.yml
File metadata and controls
42 lines (35 loc) · 801 Bytes
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
compiler:
- gcc
sudo: true
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo add-apt-repository -y ppa:kubuntu-ppa/backports -y
- sudo apt-get update -qq
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- sudo apt-get install -qq valgrind libyaml-cpp-dev
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
script:
- make test
- make testv
branches:
only:
- master
notifications:
email: true
env:
- TRAVIS=true
os:
- linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- kubuntu-backports
packages:
- gcc-4.8
- g++-4.8
- clang
- libyaml-cpp-dev
- valgrind