Makefile: add test_python target, added to .travis.yml
authorPaul Brossier <piem@piem.org>
Fri, 22 Apr 2016 00:05:39 +0000 (02:05 +0200)
committerPaul Brossier <piem@piem.org>
Fri, 22 Apr 2016 00:05:39 +0000 (02:05 +0200)
.travis.yml
Makefile

index dfe89cf..defd1c9 100644 (file)
@@ -82,6 +82,7 @@ addons:
 script:
   - make build
   - make build_python
+  - make test_python
   - make clean_python
   - make clean
   - make distcheck
index 1b58562..64f3211 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,9 @@ build: configure
 build_python:
        cd python && ./setup.py build
 
+test_python:
+       cd python && ./setup.py develop && ./tests/run_all_tests
+
 clean_python:
        cd python && ./setup.py clean