- travis_retry make getwaf expandwaf deps_python
- which pip
- pip --version
+ - pip install python-coveralls
script:
- make create_test_sounds
- |
if [[ -z "$AUBIO_NOTESTS" ]]; then
+ export NOSE2="coverage run --source=aubio `which nose2`"
make test_lib_python_clean
make test_python_only_clean
else
make test_lib_only_clean
fi;
+after_success:
+ - coveralls
+
notifications:
irc:
channels:
DATAROOTDIR?=$(PREFIX)/share
MANDIR?=$(DATAROOTDIR)/man
+# default nose2 command
+NOSE2?=nose2 -N 4 --verbose
+
SOX=sox
TESTSOUNDS := python/tests/sounds
test_python: export PYTHONPATH=$(PYDESTDIR)/$(LIBDIR)
test_python: local_dylib
# run test with installed package
- ./python/tests/run_all_tests --verbose
- # also run with nose, multiple processes
- nose2 -N 4
+ # ./python/tests/run_all_tests --verbose
+ # run with nose2, multiple processes
+ $(NOSE2)
clean_python:
./setup.py clean