shithub: aubio

Download patch

ref: 22e991bc47628c455d07c37b9bb6534ba1362b18
parent: e56ac1682768d07a44eccb58472b3d8a9d320904
author: Paul Brossier <piem@piem.org>
date: Wed Nov 30 14:05:43 EST 2016

Makefile, .travis.yml: merge test_python and test_python_osx rules

--- a/.travis.yml
+++ b/.travis.yml
@@ -86,13 +86,7 @@
 
 script:
   - make create_test_sounds
-  - make build
-  - make build_python
-  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make test_python; fi
-  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make test_python_osx; fi
-  - make clean_python
-  - make clean
-  - make distcheck
+  - make test_python
   - make test_pure_python
 
 notifications:
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@
 	python ./setup.py build_ext $(ENABLE_DOUBLE)
 
 test_python: export LD_LIBRARY_PATH=$(PWD)/build/src
-test_python:
+test_python: local_dylib
 	# clean
 	-pip uninstall -v -y aubio
 	./setup.py clean
@@ -57,8 +57,6 @@
 local_dylib:
 	# create links from ~/lib/lib* to build/src/lib*
 	[ -f build/src/libaubio.[0-9].dylib ] && ( mkdir -p ~/lib && cp -prv build/src/libaubio.[0-9].dylib ~/lib ) || true
-
-test_python_osx: local_dylib test_python
 
 clean_python:
 	./setup.py clean