Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (23 sloc) 699 Bytes
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
php:
- '5.6'
- '7.0'
- '7.1'
- '7.2'
- nightly
install:
-
before_script:
- travis_retry composer config minimum-stability dev
- if [ "$TRAVIS_PHP_VERSION" = "5.6" ]; then travis_retry composer require satooshi/php-coveralls:~0.6@stable --update-no-dev ; fi
- travis_retry composer require phpunit/phpunit "5.7.*" --update-no-dev
- phpunit --version
- travis_retry composer install --no-ansi --no-dev --no-interaction --no-progress --no-scripts --optimize-autoloader
script:
- ant travis
after_success:
- if [ "$TRAVIS_PHP_VERSION" = "5.6" ]; then travis_retry php vendor/bin/coveralls -v; fi