From a1f8551ccbd9800ecbde42539628ec4f5f680dc7 Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Sat, 13 Aug 2016 23:40:31 +0900 Subject: [PATCH] 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 --- .travis.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 02661f24..ebefda75 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,29 +1,29 @@ language: php php: - - 5.4 - 5.5 - 5.6 - 7.0 - hhvm - + matrix: allow_failures: - php: hhvm +cache: + directories: + - vendor + - $HOME/.composer/cache + before_script: ## Packages - sudo apt-get -qq update > /dev/null ## Composer - composer self-update - - composer install --prefer-source --dev - - phpenv global "$TRAVIS_PHP_VERSION" + - composer install script: ## PHP_CodeSniffer - ./vendor/bin/phpcs --report-width=200 --report-summary --report-full src/ unitTests/ --standard=PSR2 -n ## PHPUnit - ./vendor/bin/phpunit -c ./unitTests/ - -notifications: - email: false