Update CI build to fail if app tests fail

This commit is contained in:
kiswa 2016-08-29 12:47:09 +00:00
parent 62261b7f3b
commit 93a1bf4ebb

View File

@ -12,7 +12,7 @@ before_script:
- chmod a+w tests.db - chmod a+w tests.db
script: script:
- ./src/api/vendor/phpunit/phpunit/phpunit -c test/api/phpunit.xml - ./src/api/vendor/phpunit/phpunit/phpunit -c test/api/phpunit.xml
- gulp coverage - gulp test-app && gulp coverage
after_success: after_success:
- echo -e "<?php\n print phpversion();" > version.php - echo -e "<?php\n print phpversion();" > version.php
- curl "https://raw.githubusercontent.com/andreafabrizi/Dropbox-Uploader/master/dropbox_uploader.sh" -o dropbox_uploader.sh - curl "https://raw.githubusercontent.com/andreafabrizi/Dropbox-Uploader/master/dropbox_uploader.sh" -o dropbox_uploader.sh