Skip to content
This repository has been archived by the owner on Sep 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request #205 from gquemener/bugfix/fix-deps
Browse files Browse the repository at this point in the history
Stabilizing composer.json
  • Loading branch information
docteurklein committed Feb 19, 2015
2 parents 095f772 + 3a2c69e commit 05ddd4f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 18 deletions.
29 changes: 18 additions & 11 deletions .travis.yml
Expand Up @@ -3,19 +3,26 @@ language: php
php: [5.4, 5.5, 5.6, hhvm]

matrix:
allow_failures:
- php: hhvm

cache:
directories:
- vendor
allow_failures:
- php: hhvm
- env: SYMFONY_VERSION='2.7.*@dev'
include:
- php: 5.4
env: SYMFONY_VERSION='2.4.*'
- php: 5.4
env: SYMFONY_VERSION='2.5.*'
- php: 5.4
env: SYMFONY_VERSION='2.6.*'
- php: 5.4
env: SYMFONY_VERSION='2.7.*@dev'

before_script:
- composer install --prefer-source --dev
- phantomjs --version
- phantomjs --webdriver=4444 &
- php -S localhost:8080 -t features/Context/fixtures &
- 'curl -H "Accept: text/plain" https://security.sensiolabs.org/check_lock -F lock=@composer.lock -s | grep "No known"'
- composer selfupdate
- if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony=$SYMFONY_VERSION; else composer install; fi;
- phantomjs --version
- phantomjs --webdriver=4444 &
- php -S localhost:8080 -t features/Context/fixtures &
- 'curl -H "Accept: text/plain" https://security.sensiolabs.org/check_lock -F lock=@composer.lock -s | grep "No known"'

script:
- ./bin/phpspec run -fpretty
Expand Down
13 changes: 6 additions & 7 deletions composer.json
Expand Up @@ -11,16 +11,16 @@
],
"require": {
"php": ">=5.4",
"symfony/symfony": "~2.4",
"symfony/symfony": "~2.4,<2.7",
"nelmio/alice": "~1.5",
"fzaninotto/faker": "~1.2"
},
"require-dev": {
"behat/behat": "~3@dev",
"behat/mink-extension": "~2@dev",
"behat/mink-selenium2-driver": "*@dev",
"behat/mink-goutte-driver": "*@dev",
"phpspec/phpspec": "~2@dev",
"behat/behat": "~3.0",
"behat/mink-extension": "~2.0",
"behat/mink-goutte-driver": "~1.0",
"behat/mink-selenium2-driver": "~1.1",
"phpspec/phpspec": "~2.0",
"symfony/swiftmailer-bundle": "~2.3",
"doctrine/orm": "~2.4",
"doctrine/doctrine-fixtures-bundle": "*",
Expand All @@ -33,7 +33,6 @@
"symfony/swiftmailer-bundle": "To take advantage of the Rad mailer logger in your tests",
"doctrine/orm": "To take advantage of the Rad password hash updater listener"
},
"minimum-stability": "dev",
"config": {
"bin-dir": "bin"
},
Expand Down

0 comments on commit 05ddd4f

Please sign in to comment.