Crow/.travis.yml

40 lines
720 B
YAML
Raw Normal View History

2014-09-12 06:40:57 +00:00
language: cpp
sudo: false
2014-09-28 10:42:30 +00:00
notifications:
irc: "chat.freenode.net##crow"
2014-09-28 10:42:30 +00:00
2014-09-12 06:40:57 +00:00
compiler:
- gcc
env:
matrix:
- COMPILER=g++-4.8 CCOMPILER=gcc-4.8 PUSH_COVERAGE=ON
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- boost-latest
packages:
- g++-4.8
- libboost1.55-all-dev
- python-pip
install:
- if [ "$PUSH_COVERAGE" == "ON" ]; then pip install --user git+git://github.com/eddyxu/cpp-coveralls.git; fi
2014-09-12 06:40:57 +00:00
before_script:
- export CXX=$COMPILER CC=$CCOMPILER
2014-09-12 06:40:57 +00:00
- mkdir build
- cd build
- cmake --version
2014-09-12 06:40:57 +00:00
- cmake ..
script: make && ctest
after_success:
- cd ..
- if [ "PUSH_COVERAGE" == "ON" ]; then coveralls --gcov gcov-4.8 -i include --gcov-options '\-lp'; fi