PHP 5.5 is the new minimum requirement
This is a decision annouced by @MarkBaker in Gitter to be able to use `DateTimeInterface`. Also remove deprecated composer option, and introduce caching for faster CI tests
This commit is contained in:
parent
49d821f093
commit
a1f8551ccb
12
.travis.yml
12
.travis.yml
|
@ -1,7 +1,6 @@
|
||||||
language: php
|
language: php
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 5.4
|
|
||||||
- 5.5
|
- 5.5
|
||||||
- 5.6
|
- 5.6
|
||||||
- 7.0
|
- 7.0
|
||||||
|
@ -11,19 +10,20 @@ matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: hhvm
|
- php: hhvm
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- vendor
|
||||||
|
- $HOME/.composer/cache
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
## Packages
|
## Packages
|
||||||
- sudo apt-get -qq update > /dev/null
|
- sudo apt-get -qq update > /dev/null
|
||||||
## Composer
|
## Composer
|
||||||
- composer self-update
|
- composer self-update
|
||||||
- composer install --prefer-source --dev
|
- composer install
|
||||||
- phpenv global "$TRAVIS_PHP_VERSION"
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
## PHP_CodeSniffer
|
## PHP_CodeSniffer
|
||||||
- ./vendor/bin/phpcs --report-width=200 --report-summary --report-full src/ unitTests/ --standard=PSR2 -n
|
- ./vendor/bin/phpcs --report-width=200 --report-summary --report-full src/ unitTests/ --standard=PSR2 -n
|
||||||
## PHPUnit
|
## PHPUnit
|
||||||
- ./vendor/bin/phpunit -c ./unitTests/
|
- ./vendor/bin/phpunit -c ./unitTests/
|
||||||
|
|
||||||
notifications:
|
|
||||||
email: false
|
|
||||||
|
|
Loading…
Reference in New Issue