.travis.yml
language: php
php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
cache:
directories:
- $HOME/.composer/cache
matrix:
fast_finish: true
env:
global:
secure: PvosUtekSGv7sGE1Bn7YhD+ztX43dgqZyQqRQEf5cdvRzztxw3BPQveM/y8XSlgEetu5nFCPgzarTeumLaXJ5RH+USsyNUCHVr+LN04jqGNfK3aA7/k3ALBKbUDyhUCxcCBoVX+EIp/ItgSW2KK2jBPD64BRdJ3oSrAjwMFjeLg=
before_script:
- if [ "$TRAVIS_PHP_VERSION" = "nightly" ]; then composer update --prefer-dist --no-interaction --ignore-platform-reqs; fi
- if [ "$TRAVIS_PHP_VERSION" != "nightly" ]; then composer update --prefer-dist --no-interaction; fi
- git config --global user.name travis-ci
- git config --global user.email travis@example.com
script:
- bin/phpunit