mirror of
https://github.com/filp/whoops.git
synced 2026-09-06 15:41:07 +00:00
Cache composer packages and secure PHP versions
This commit is contained in:
+9
-5
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user