mirror of
https://github.com/adlawson/php-vfs.git
synced 2024-11-21 20:15:13 +00:00
Update travis configuration
This commit is contained in:
parent
bea7308ab1
commit
d05a0355a0
@ -1,9 +0,0 @@
|
||||
set -x
|
||||
if [ "$TRAVIS_PHP_VERSION" = 'hhvm' ] || [ "$TRAVIS_PHP_VERSION" = 'hhvm-nightly' ]; then
|
||||
curl -sS https://getcomposer.org/installer > composer-installer.php
|
||||
hhvm composer-installer.php
|
||||
hhvm -v ResourceLimit.SocketDefaultTimeout=30 -v Http.SlowQueryThreshold=30000 composer.phar install --prefer-source
|
||||
else
|
||||
composer self-update
|
||||
composer install --prefer-source
|
||||
fi
|
14
.travis.yml
14
.travis.yml
@ -3,17 +3,11 @@ language: php
|
||||
php:
|
||||
- 5.5
|
||||
- 5.6
|
||||
- 7
|
||||
- 7.0
|
||||
- hhvm
|
||||
- hhvm-nightly
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
allow_failures:
|
||||
- php: hhvm-nightly
|
||||
|
||||
before_script:
|
||||
- ./.travis.install.sh
|
||||
install:
|
||||
- travis_retry composer install --no-interaction --ignore-platform-reqs
|
||||
|
||||
script:
|
||||
- ./vendor/bin/phpunit
|
||||
- composer test
|
||||
|
@ -33,7 +33,7 @@
|
||||
}
|
||||
},
|
||||
"require": {
|
||||
"php": "^5.5",
|
||||
"php": ">=5.5",
|
||||
"psr/log": "^1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
|
Loading…
Reference in New Issue
Block a user