Merge pull request #392 from theofidry/travis

Cache composer packages and secure PHP versions
This commit is contained in:
Denis Sokolov
2016-03-20 18:24:37 +02:00
+9 -5
View File
@@ -1,16 +1,20 @@
language: php
php:
- 5.5.9
- 5.5
- 5.6
- 7.0
- '5.5.9'
- '5.5'
- '5.6'
- '7.0'
- hhvm
sudo: false
cache:
directories:
- "$HOME/.composer/cache"
before_script:
- composer install --no-interaction --prefer-source
- composer install --no-interaction --prefer-dist
- if [ $TRAVIS_PHP_VERSION = "5.6" ]; then PHPUNIT_FLAGS="--coverage-clover build/logs/clover.xml"; fi
script: