Merge pull request #42 from pxgamer/feature/php7.3-travis

Add Travis support for PHP 7.3
This commit is contained in:
arionum
2019-03-24 09:35:06 +02:00
committed by GitHub

View File

@@ -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