Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/twofactor_totp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2017-03-14 11:52:33 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-03-14 11:52:33 +0300
commit4bde33079adcba2b7392f3547a9e2ee198da7c1c (patch)
tree153dde5d1042e034c71b78f8d5a18b79fd686745
parentca5cd531cc49093a501b881b9a9334b77669c1ad (diff)
Manually download phpunit 5.7 on travis
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
-rw-r--r--.travis.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 9f92582..994a3ad 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -36,6 +36,10 @@ cache:
- "$HOME/.cache/bower"
before_install:
- php --info
+ # Download phpunit 5.7
+ - wget https://phar.phpunit.de/phpunit-5.7.phar -O phpunit
+ - chmod u+x phpunit
+
# XDebug is only needed if we report coverage -> speeds up other builds
- if [[ "$PHP_COVERAGE" = "FALSE" ]]; then phpenv config-rm xdebug.ini; fi
@@ -69,8 +73,8 @@ before_script:
script:
- if [[ "$SAUCE" = "FALSE" ]]; then find . -name \*.php -not -path './vendor/*' -exec php -l "{}" \;; fi
- cd tests
- - if [[ "$SAUCE" = "FALSE" ]]; then phpunit --group default --configuration phpunit.xml; fi
- - if [[ "$SAUCE" = "TRUE" ]]; then phpunit --group Acceptance --no-coverage --configuration phpunit.xml; fi
+ - if [[ "$SAUCE" = "FALSE" ]]; then ../phpunit --group default --configuration phpunit.xml; fi
+ - if [[ "$SAUCE" = "TRUE" ]]; then ../phpunit --group Acceptance --no-coverage --configuration phpunit.xml; fi
- if [[ "$PHP_COVERAGE" = "TRUE" ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [[ "$PHP_COVERAGE" = "TRUE" ]]; then php ocular.phar code-coverage:upload --format=php-clover clover.xml; fi