diff options
| author | Greg Roach <fisharebest@gmail.com> | 2018-05-31 09:54:57 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2018-05-31 10:04:22 +0100 |
| commit | 95d954e1bf9f84a5f582901e92d30dd2a8230d67 (patch) | |
| tree | ead0a3c22504019e26fd56a855b70987d377407f /.travis.yml | |
| parent | ffe6005c11fdad01969e67c039b0d73beb0232e9 (diff) | |
| download | webtrees-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.yml | 13 |
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 |
