Skip to content

Commit

Permalink
DevKit updates (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectricMaxxx authored Aug 11, 2018
1 parent 343f8fd commit d8e60e4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ sudo: false
cache:
directories:
- .phpunit
#- $HOME/.composer/cache/files
- $HOME/.composer/cache/files

env:
matrix: SYMFONY_VERSION=4.0.*
Expand All @@ -37,24 +37,28 @@ matrix:
include:
- php: 7.2
env: STABILITY=dev SYMFONY_VERSION=4.0.*
- php: 5.6
env: COMPOSER_FLAGS="--prefer-lowest" SYMFONY_VERSION=2.8.* SYMFONY_DEPRECATIONS_HELPER=weak
- php: 7.0
env: STABILITY=dev SYMFONY_VERSION=3.3.*
- php: 7.0
env: STABILITY=dev SYMFONY_VERSION=3.4.*
- php: 7.1
env: STABILITY=dev COMPOSER_FLAGS="--prefer-lowest" SYMFONY_VERSION=2.8.* SYMFONY_DEPRECATIONS_HELPER=weak
- php: 7.2
env: STABILITY=dev SYMFONY_VERSION=3.3.*
- php: 7.2
- php: 7.1
env: STABILITY=dev SYMFONY_VERSION=3.4.*
fast_finish: true
allow_failures:

before_install:
- phpenv config-rm xdebug.ini || true
- composer self-update
- composer validate --no-check-all --ansi
- if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; composer config prefer-stable true; fi;
- if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony:${SYMFONY_VERSION} --no-update; fi
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)

install: travis_wait composer update --prefer-dist $COMPOSER_FLAGS

script:
- if [ "${TEST_INSTALLATION}" == true ]; then make test_installation; else make test; fi

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ the context of the CMF.

## Requirements

* PHP 7.1 / 7.2
* PHP 5.6 / 7.0 / 7.1 / 7.2
* Symfony 2.8 / 3.3 / 3.4 / 4.0
* See also the `require` section of [composer.json](composer.json)

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
],
"require": {
"php": "^7.1",
"php": "^5.6 || ^7.0",
"doctrine/common": "^2.7",
"doctrine/data-fixtures": "^1.2",
"doctrine/doctrine-bundle": "^1.8 || ^2.0",
Expand Down

0 comments on commit d8e60e4

Please sign in to comment.