Skip to content

Commit

Permalink
Merge 35de480 into 78466e2
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-1-anderson committed Nov 29, 2017
2 parents 78466e2 + 35de480 commit d83fd05
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 119 deletions.
39 changes: 27 additions & 12 deletions .travis.yml
Expand Up @@ -3,15 +3,22 @@ language: php
matrix:
fast_finish: true
include:
- php: 7.1
env: dependencies=highest
- php: 7.1
- php: 7.0
- php: 5.6
- php: 5.5
env: dependencies=lowest
- php: 5.4
env: dependencies=lowest
-
php: 7.1
env: 'HIGHEST_LOWEST="update" STABILITY="RC"'
-
php: 7.1
-
php: 7.0.11
-
php: 5.6
-
php: 5.5
env: 'HIGHEST_LOWEST="update --prefer-lowest"'
-
php: 5.4
env: 'HIGHEST_LOWEST="update --prefer-lowest"'


cache:
apt: true
Expand All @@ -25,9 +32,17 @@ before_install:
install:
# Load composer dependencies.
- composer validate --no-check-all --ansi
- if [ -z "$dependencies" ]; then composer install --prefer-dist --optimize-autoloader -n; fi;
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-dist --prefer-lowest --optimize-autoloader -n; fi;
- if [ "$dependencies" = "highest" ]; then composer update --prefer-dist --optimize-autoloader -n; fi;
# If running a highest/lowest dependencies test, get rid of composer.lock
- |
if [ -n "$HIGHEST_LOWEST" ] ; then
rm composer.lock
composer config --unset platform.php
composer config minimum-stability ${STABILITY-stable}
fi
- 'composer -n ${HIGHEST_LOWEST-install} --prefer-dist'
- composer why symfony/console
# Print out all of the installed packages in alphabetical order, with versions
- composer licenses

script:
- ./scripts/run-tests.sh
Expand Down
12 changes: 10 additions & 2 deletions composer.json
Expand Up @@ -4,7 +4,7 @@
"type": "library",
"require": {
"php": ">=5.4",
"symfony/yaml": "^2.8.11|^3",
"symfony/yaml": "^2.8.11|^3|^4",
"dflydev/dot-access-data": "^1.1.0"
},
"license": "MIT",
Expand All @@ -23,7 +23,15 @@
"require-dev": {
"squizlabs/php_codesniffer": "^2.7",
"phpunit/phpunit": "^4.8|^5.5.4",
"satooshi/php-coveralls": "^1.0"
"satooshi/php-coveralls": "^1.0.2|dev-master"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"platform": {
"php": "5.6"
}
},
"extra": {
"branch-alias": {
Expand Down

0 comments on commit d83fd05

Please sign in to comment.