Crow/.travis.yml

30 lines
695 B
YAML
Raw Normal View History

2014-09-12 06:40:57 +00:00
language: cpp
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
2014-09-12 08:12:09 +00:00
#- clang
2014-09-12 06:40:57 +00:00
before_script:
- sudo pip install cpp-coveralls
2014-09-12 07:28:58 +00:00
- sudo add-apt-repository -y ppa:kalakris/cmake
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:boost-latest/ppa
2014-09-12 07:28:58 +00:00
- sudo apt-get -qq update
- sudo apt-get install -qq libboost1.55-all-dev
2014-09-12 08:12:09 +00:00
- sudo apt-get install -qq g++-4.8
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
2014-09-12 06:40:57 +00:00
- mkdir build
- cd build
- sudo apt-get install cmake
- cmake --version
2014-09-12 06:40:57 +00:00
- cmake ..
script: make && ctest
after_success:
- cd ..
- coveralls --gcov gcov-4.8 -i include --gcov-options '\-lp'