mirror of
https://github.com/adlawson/php-vfs.git
synced 2024-06-02 16:40:52 +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:
|
php:
|
||||||
- 5.5
|
- 5.5
|
||||||
- 5.6
|
- 5.6
|
||||||
- 7
|
- 7.0
|
||||||
- hhvm
|
- hhvm
|
||||||
- hhvm-nightly
|
|
||||||
|
|
||||||
matrix:
|
install:
|
||||||
fast_finish: true
|
- travis_retry composer install --no-interaction --ignore-platform-reqs
|
||||||
allow_failures:
|
|
||||||
- php: hhvm-nightly
|
|
||||||
|
|
||||||
before_script:
|
|
||||||
- ./.travis.install.sh
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./vendor/bin/phpunit
|
- composer test
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^5.5",
|
"php": ">=5.5",
|
||||||
"psr/log": "^1.0"
|
"psr/log": "^1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user