Merge pull request #42 from pxgamer/feature/php7.3-travis
Add Travis support for PHP 7.3
This commit is contained in:
17
.travis.yml
17
.travis.yml
@@ -2,24 +2,21 @@ dist: trusty
|
|||||||
language: php
|
language: php
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 7.2
|
- 7.2
|
||||||
- nightly
|
- 7.3
|
||||||
|
- nightly
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: nightly
|
- php: nightly
|
||||||
|
|
||||||
# This triggers builds to run on the new TravisCI infrastructure.
|
|
||||||
# See: https://docs.travis-ci.com/user/reference/trusty#Container-based-with-sudo%3A-false
|
|
||||||
sudo: false
|
|
||||||
|
|
||||||
## Cache composer
|
## Cache composer
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.composer/cache
|
- $HOME/.composer/cache
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- travis_retry composer update --no-interaction --prefer-dist
|
- travis_retry composer update --no-interaction --prefer-dist
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpcs -l --standard=psr2 . include
|
- vendor/bin/phpcs -l --standard=psr2 . include
|
||||||
|
|||||||
Reference in New Issue
Block a user