-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from Tobion/patch-1
improve composer.json and travis tests
- Loading branch information
Showing
7 changed files
with
80 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/.atoum.php export-ignore | ||
/.bootstrap.atoum.php export-ignore | ||
/.coke export-ignore | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.travis.yml export-ignore | ||
/bin export-ignore | ||
/Dockerfile export-ignore | ||
/docker export-ignore | ||
/docker-compose.yml export-ignore | ||
/travis export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,35 @@ | ||
language: php | ||
|
||
php: | ||
- 7.0 | ||
- 7.1 | ||
|
||
env: | ||
- SYMFONY_VERSION="2.8.*" | ||
- SYMFONY_VERSION="3.1.*" | ||
- SYMFONY_VERSION="3.4.*" | ||
- COMPOSER_FLAGS="--prefer-lowest" | ||
sudo: false | ||
cache: | ||
directories: | ||
- $HOME/.composer/cache/files | ||
|
||
matrix: | ||
fast_finish: true | ||
fast_finish: true | ||
include: | ||
# Minimum supported dependencies with the latest and oldest PHP version | ||
- php: 7.4 | ||
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" | ||
- php: 7.0 | ||
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" | ||
# Test with specific Symfony (LTS) versions | ||
- php: 7.2 | ||
env: SYMFONY_REQUIRE="3.4.*" | ||
- php: 7.3 | ||
env: SYMFONY_REQUIRE="4.4.*" | ||
# Latest commit to master | ||
- php: 7.4 | ||
env: STABILITY="dev" | ||
allow_failures: | ||
# Dev-master is allowed to fail. | ||
- env: STABILITY="dev" | ||
|
||
before_install: | ||
- phpenv config-rm xdebug.ini | ||
- bash travis/install_amqp.sh | ||
- composer self-update | ||
- if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony:${SYMFONY_VERSION} --no-update; fi | ||
- if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; fi; | ||
- composer global require --no-progress --no-scripts --no-plugins symfony/flex | ||
|
||
install: composer update --prefer-dist $COMPOSER_FLAGS | ||
install: composer update --prefer-dist --no-interaction $COMPOSER_FLAGS | ||
|
||
script: bin/atoum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.