You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
579 B
30 lines
579 B
language: php |
|
|
|
php: |
|
- 7.0 |
|
- 7.1 |
|
- 7.2 |
|
|
|
# faster builds on new travis setup not using sudo |
|
sudo: false |
|
|
|
# cache vendor dirs |
|
cache: |
|
directories: |
|
- $HOME/.composer/cache |
|
|
|
install: |
|
- sudo apt-get install -y sendmail |
|
- travis_retry composer self-update && composer --version |
|
- export PATH="$HOME/.composer/vendor/bin:$PATH" |
|
- travis_retry composer install --prefer-dist --no-interaction |
|
|
|
before_script: |
|
- | |
|
if [ $TRAVIS_PHP_VERSION = '5.6' ]; then |
|
PHPUNIT_FLAGS="--coverage-clover=coverage.clover" |
|
fi |
|
|
|
|
|
script: |
|
- phpunit --verbose $PHPUNIT_FLAGS
|
|
|