diff --git a/.travis.yml b/.travis.yml index 3d5642d5b..beb2e575b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ install: # so we must combine them in the end script: - cd test - - nosetests -xv --process-restartworker --processes=1 --process-timeout=999999999 --with-cov --cov=alignak + - nosetests -xv --process-restartworker --processes=1 --process-timeout=999999999 --with-coverage --cover-package=alignak - coverage combine - cd .. && pep8 --max-line-length=100 --ignore=E303,E302,E301,E241 --exclude='*.pyc' alignak/* # specific call to launch coverage data into coveralls.io diff --git a/test/requirements.txt b/test/requirements.txt index 72404db2e..4e9155683 100644 --- a/test/requirements.txt +++ b/test/requirements.txt @@ -5,6 +5,7 @@ mock coveralls==0.5 nose-cov==1.6 coverage==3.7.1 -nose==1.3.4 +nose==1.3.6 pylint==1.4.1 pep8==1.5.7 +cov-core==1.15.0 diff --git a/test/setup_test.sh b/test/setup_test.sh index 4c3f6e42a..fb6ef9428 100755 --- a/test/setup_test.sh +++ b/test/setup_test.sh @@ -27,3 +27,6 @@ cd $BASE_PATH # install prog AND tests requirements : pip install -r test/requirements.txt python setup.py develop + +# for eventual debug help to know what libs versions we have: +pip freeze