aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-03-03 04:30:00 +0100
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-03-04 02:30:01 +0100
commitd30b005198f639d8b3d4855e62aabee449083c55 (patch)
treebf93e8682b6d72fb7c93089859a368951746e160 /.travis.yml
parent79c7f85ba720f1cfaa004b72c9f11b784bdaffab (diff)
Adding coverage report.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index de320b59a3..e43a89e453 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,9 +4,11 @@ before_install:
- sudo add-apt-repository ppa:h-rayflood/llvm -y
- sudo apt-get update -qq
- sudo apt-get install -qq libgtest-dev libgflags-dev python-virtualenv clang-3.5
+ - sudo pip install cpp-coveralls
env:
global:
- RUBY_VERSION=2.1
+ - COVERALLS_PARALLEL=true
matrix:
- CONFIG=dbg TEST=c
- CONFIG=dbg TEST=c++
@@ -15,9 +17,15 @@ env:
- CONFIG=opt TEST=node
- CONFIG=opt TEST=ruby
- CONFIG=opt TEST=python
+ - CONFIG=gcov TEST=c
+ - CONFIG=gcov TEST=c++
script:
- rvm use $RUBY_VERSION
- gem install bundler
- ./tools/run_tests/run_tests.py -l $TEST -t -j 16 -c $CONFIG -s 4.0
+after_success:
+ - if [ "$CONFIG" = "gcov" ] ; then coveralls --exclude third_party --exclude gens -b. --gcov-options '\-p' ; fi
notifications:
- email: false \ No newline at end of file
+ email: false
+ webhooks:
+ - https://coveralls.io/webhook?repo_token=54IxAHPjJNdQJzJAhPU0MFpCtg7KvcydQ