forked from G-Node/nix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (19 loc) · 826 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
language: cpp
env:
matrix:
- COMPILER=g++-4.8 CTEST_ARGS=-V
- COMPILER=clang CXXFLAGS="-stdlib=libstdc++ -Qunused-arguments" CTEST_ARGS=-VV
script:
- CXX=${COMPILER} ctest ${CTEST_ARGS} --output-on-failure -S .travis.ctest
before_install:
- if [[ "$COMPILER" == "g++-4.8" ]]; then sudo pip install cpp-coveralls; fi
install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo add-apt-repository ppa:boost-latest/ppa -y
- sudo add-apt-repository ppa:gnode/pandora -y
- sudo apt-get update -qq -y
- sudo apt-get install -q gcc-4.8 g++-4.8 libstdc++-4.8-dev libcppunit-dev libboost1.54-all-dev libhdf5-serial-dev libhdf5-dev libhdf5-7 valgrind cmake
after_success:
- if [[ "$COMPILER" == "g++-4.8" ]]; then coveralls --exclude test --exclude tmp; fi
notifications:
irc: "chat.freenode.net#gnode"