1
0
mirror of synced 2025-03-06 21:06:16 +03:00

Merge pull request #6377 from Sam-Burns/minimum-dependencies

Minimum dependencies
This commit is contained in:
Marco Pivetta 2017-03-31 20:46:14 +02:00 committed by GitHub
commit 904f4d5021
2 changed files with 10 additions and 3 deletions

View File

@ -17,6 +17,8 @@ before_script:
- if [[ $TRAVIS_PHP_VERSION -lt '7.0' && $TRAVIS_PHP_VERSION != 'hhv*' ]]; then phpenv config-rm xdebug.ini; fi - if [[ $TRAVIS_PHP_VERSION -lt '7.0' && $TRAVIS_PHP_VERSION != 'hhv*' ]]; then phpenv config-rm xdebug.ini; fi
- composer self-update - composer self-update
- composer install --prefer-source - composer install --prefer-source
- if [ "$DEPENDENCIES" != "low" ]; then composer update; fi;
- if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest; fi;
script: script:
- ENABLE_SECOND_LEVEL_CACHE=0 ./vendor/bin/phpunit -v -c tests/travis/$DB.travis.xml $PHPUNIT_FLAGS - ENABLE_SECOND_LEVEL_CACHE=0 ./vendor/bin/phpunit -v -c tests/travis/$DB.travis.xml $PHPUNIT_FLAGS
@ -37,6 +39,10 @@ matrix:
env: DB=mariadb env: DB=mariadb
addons: addons:
mariadb: 10.1 mariadb: 10.1
- php: 7.1
env:
- DB=sqlite
- DEPENDENCIES='low'
- php: hhvm - php: hhvm
sudo: true sudo: true
dist: trusty dist: trusty

View File

@ -16,16 +16,17 @@
"require": { "require": {
"php": "^7.0", "php": "^7.0",
"ext-pdo": "*", "ext-pdo": "*",
"doctrine/collections": "~1.2", "doctrine/collections": "~1.3",
"doctrine/dbal": ">=2.5-dev,<2.7-dev", "doctrine/dbal": ">=2.5-dev,<2.7-dev",
"doctrine/instantiator": "~1.0.1", "doctrine/instantiator": "~1.0.1",
"doctrine/common": "^2.7.1", "doctrine/common": "^2.7.1",
"doctrine/cache": "~1.4", "doctrine/cache": "~1.5",
"doctrine/annotations": "~1.2",
"symfony/console": "~2.5|~3.0" "symfony/console": "~2.5|~3.0"
}, },
"require-dev": { "require-dev": {
"symfony/yaml": "~2.3|~3.0", "symfony/yaml": "~2.3|~3.0",
"phpunit/phpunit": "^5.4" "phpunit/phpunit": "^5.7"
}, },
"suggest": { "suggest": {
"symfony/yaml": "If you want to use YAML Metadata Mapping Driver" "symfony/yaml": "If you want to use YAML Metadata Mapping Driver"