summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2018-05-31 09:54:57 +0100
committerGreg Roach <fisharebest@gmail.com>2018-05-31 10:04:22 +0100
commit95d954e1bf9f84a5f582901e92d30dd2a8230d67 (patch)
treeead0a3c22504019e26fd56a855b70987d377407f /.travis.yml
parentffe6005c11fdad01969e67c039b0d73beb0232e9 (diff)
downloadwebtrees-95d954e1bf9f84a5f582901e92d30dd2a8230d67.tar.gz
webtrees-95d954e1bf9f84a5f582901e92d30dd2a8230d67.tar.bz2
webtrees-95d954e1bf9f84a5f582901e92d30dd2a8230d67.zip
satooshi/php-coveralls has been replaced with php-coveralls/php-coveralls
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
1 files changed, 8 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index d5d97daadc..4296d439af 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,6 +4,7 @@ php:
- 7.0
- 7.1
- 7.2
+ - nightly
## Non-sudo environments are faster
sudo: false
@@ -14,14 +15,16 @@ cache:
- vendor
- $HOME/.composer/cache
+install:
+ - curl -s http://getcomposer.org/installer | php
+ - php composer.phar install --dev --no-interaction
+
before_script:
- travis_retry composer config github-oauth.github.com "${GITHUB_OAUTH_TOKEN}"
- - if [ -f "$HOME/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini" ]; then cp $HOME/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini /tmp/; phpenv config-rm xdebug.ini; fi
- - travis_retry composer update
- - if [ -f "/tmp/xdebug.ini" ]; then phpenv config-add /tmp/xdebug.ini; fi
script:
- - vendor/bin/phpunit --coverage-clover tests/clover.xml
+ - mkdir -p build/logs
+ - vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover tests/clover.xml
after_script:
- - vendor/bin/coveralls -v
+ - travis_retry php vendor/bin/php-coveralls -v