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 <ChristophWurst@users.noreply.github.com>2017-03-14 12:02:52 +0300
committerGitHub <noreply@github.com>2017-03-14 12:02:52 +0300
commitf9504889b170b8145c23641de8ccd41ae219d637 (patch)
tree6b99a01c009904437134172246514331ae36577a
parent64dd6cbb752b3b880b300c1dec083a95fe7718da (diff)
parent4bde33079adcba2b7392f3547a9e2ee198da7c1c (diff)
Merge pull request #157 from nextcloud/fix/travis-phpunit5.7
Manually download phpunit 5.7 on travis
-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