Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Update dependencies to latest and fix CI #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
phpunit.xml
vendor/

24 changes: 22 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,32 @@ language: php
php:
- 5.5
- 5.6
- 7.0

matrix:
fast_finish: true
exclude:
- php: 5.5
env: PREFER=latest
- php: 7.0
env: PREFER=lowest

env:
matrix:
- PREFER=latest
- PREFER=lowest

cache:
directories:
- $HOME/.composer/cache

before_script:
- echo 'date.timezone = "UTC"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev
- sh -c "if [ '$PREFER' = 'lowest' ]; then composer update --prefer-lowest; else composer install; fi"

script: phpunit --coverage-clover clover
script:
- php vendor/bin/phpunit --coverage-clover clover

after_success:
- curl -sL https://bit.ly/artifact-uploader | php
Expand Down
30 changes: 11 additions & 19 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,27 @@
],
"require": {
"php": "^5.5.0 || ^7.0",
"symfony/framework-bundle": "^2.1 || ^3.1",
"symfony/debug": "^2.3 || ^3.0",
"symfony/framework-bundle": "^2.7 || ^3.0",
"symfony/debug": "^2.7 || ^3.0",
"doctrine/common": "^2.3",
"jms/di-extra-bundle": "^1.1"
},
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "*",
"sensio/framework-extra-bundle": "*",
"symfony/class-loader": "*",
"symfony/yaml": "*",
"symfony/browser-kit": "*",
"symfony/finder": "*",
"symfony/css-selector": "*",
"symfony/process": "*",
"doctrine/doctrine-bundle": "*",
"doctrine/orm": "*",
"symfony/twig-bundle": "*",
"symfony/form": "*",
"symfony/validator": "*",
"pagerfanta/pagerfanta": "dev-master",
"phpunit/phpunit": "^5.2",
"symfony/intl": "*"
"doctrine/doctrine-fixtures-bundle": "^2.0",
"sensio/framework-extra-bundle": "^2.7 || ^3.0",
"symfony/symfony": "^2.7 || ^3.0",
"doctrine/doctrine-bundle": "^1.4",
"doctrine/orm": "^2.4.8",
"symfony/validator": "^2.7 || ^3.0",
"pagerfanta/pagerfanta": "^1.0",
"phpunit/phpunit": "^4.8 || ^5.5"
},
"suggest": {
"pagerfanta/pagerfanta": "Required when using the webinterface.",
"sensio/framework-extra-bundle": "Required when using the webinterface.",
"symfony/twig-bundle": "Required when using the webinterface."
},
"minimum-stability": "dev",
"minimum-stability": "stable",
"autoload": {
"psr-0": { "JMS\\JobQueueBundle": "" }
},
Expand Down
Loading