diff options
author | Hendrik Leppelsack <hendrik@leppelsack.de> | 2017-03-17 00:35:29 +0100 |
---|---|---|
committer | Hendrik Leppelsack <hendrik@leppelsack.de> | 2017-03-17 00:36:35 +0100 |
commit | a4414f8cb35e651cd0d6a77360909a332b5ac8cf (patch) | |
tree | 480208d32a674f3c75c65f16c735a07fd9246912 /Makefile | |
parent | 2692185c4c1389cd62261414511b670349d02107 (diff) |
prevent travis from using phpunit 6.x
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -161,16 +161,12 @@ endif ifneq (,$(wildcard $(CURDIR)/package.json)) $(npm) run test endif -ifeq (, $(shell which phpunit 2> /dev/null)) +# hotfix to prevent travis from using phpunix 6.x @echo "No phpunit command available, downloading a copy from the web" mkdir -p $(build_tools_directory) - curl -sSL https://phar.phpunit.de/phpunit.phar -o $(build_tools_directory)/phpunit.phar + curl -sSL https://phar.phpunit.de/phpunit-5.7.9.phar -o $(build_tools_directory)/phpunit.phar php $(build_tools_directory)/phpunit.phar -c phpunit.xml --coverage-clover build/php-unit.clover php $(build_tools_directory)/phpunit.phar -c phpunit.integration.xml --coverage-clover build/php-integration.clover -else - phpunit -c phpunit.xml --coverage-clover build/php-unit.clover - phpunit -c phpunit.integration.xml --coverage-clover build/php-unit.clover -endif # watch out for changes and rebuild .PHONY: watch |