From 4891219970c0ba319825abf71a0304487eec5b5b Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Mon, 26 May 2014 08:58:38 +0200
Subject: [PATCH] Fix travis-CI integration

---
 .travis.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 0df6629..7b77016 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,14 +20,14 @@ before_install:
   - if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran; fi
   - if [ -n "${NUMPYSPEC}" ]; then pip install --upgrade pip setuptools; fi
   - if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC sphinx nose; fi
-  - pip install coveralls
+  - pip install cpp-coveralls
 install:
   - "python bootstrap.py"
-  - "./bin/buildout"
+  - "CFLAGS=-coverage ./bin/buildout"
 script:
-  - "./bin/python -c 'from xbob.learn.activation import get_config; print(get_config())'"
-  - "./bin/coverage run --source=xbob.learn.activation ./bin/nosetests -sv"
+  - "./bin/python -c 'from xbob.learn.misc import get_config; print(get_config())'"
+  - "./bin/coverage run --source=xbob.learn.misc ./bin/nosetests -sv"
   - "./bin/sphinx-build -b doctest doc sphinx"
   - "./bin/sphinx-build -b html doc sphinx"
 after_success:
-  - "coveralls"
+  - "coveralls --build-root=`pwd` --exclude=src"
-- 
GitLab