move to new Travis infrastructure
This commit is contained in:
parent
300fba6388
commit
f5d2efdbd8
1 changed files with 12 additions and 9 deletions
21
.travis.yml
21
.travis.yml
|
@ -1,16 +1,20 @@
|
||||||
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:
|
||||||
- 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
|
|
||||||
|
|
Loading…
Reference in a new issue