Commit f5d2efdb authored by Niels's avatar Niels

move to new Travis infrastructure

parent 300fba63
language: cpp language: cpp
sudo: false
compiler: compiler:
- gcc - gcc
before_install: addons:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y apt:
- sudo apt-get update -qq packages:
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.9; fi - g++-4.9
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi - valgrind
- sudo pip install cpp-coveralls pyyaml - python-pip
- sudo apt-get install valgrind - python-yaml
- sudo pip install codecov
before_script:
- pip install git+git://github.com/eddyxu/cpp-coveralls.git
script: script:
- make - make
...@@ -23,4 +27,3 @@ after_success: ...@@ -23,4 +27,3 @@ after_success:
- make json_unit CXXFLAGS="-fprofile-arcs -ftest-coverage -std=c++11" - make json_unit CXXFLAGS="-fprofile-arcs -ftest-coverage -std=c++11"
- ./json_unit "*" - ./json_unit "*"
- coveralls --exclude test/catch.hpp --exclude test/unit.cpp --include src/json.hpp --gcov-options '\-lp' --gcov 'gcov-4.9' - coveralls --exclude test/catch.hpp --exclude test/unit.cpp --include src/json.hpp --gcov-options '\-lp' --gcov 'gcov-4.9'
- codecov
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment