Skip to content

Commit

Permalink
Merge pull request #24 from rdohms/fix-build
Browse files Browse the repository at this point in the history
Update build .travis.yml
  • Loading branch information
rdohms authored Jun 17, 2016
2 parents 0514706 + 06c3dfe commit b234d85
Show file tree
Hide file tree
Showing 13 changed files with 833 additions and 483 deletions.
27 changes: 16 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
language: php

php:
- 5.3
- 5.4
- 5.5
- hhvm

env:
- SYMFONY_VERSION=2.3.*
- SYMFONY_VERSION=2.4.*
- SYMFONY_VERSION=dev-master@dev
- 5.6
- 7.0

before_script:
- composer self-update
- composer install --dev
- composer require symfony/symfony:${SYMFONY_VERSION} --dev --prefer-source
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update && composer update --dev; fi;

script: phpunit

matrix:
include:
- php: 5.6
env: SYMFONY_VERSION=2.8.*
- php: 5.6
env: SYMFONY_VERSION=3.0.*
- php: 5.6
env: SYMFONY_VERSION=3.1.*
- php: 7
env: SYMFONY_VERSION=3.0.*
- php: 7
env: SYMFONY_VERSION=3.1.*
- php: 7
env: SYMFONY_VERSION=dev-master@dev
allow_failures:
- php: hhvm
- env: SYMFONY_VERSION=dev-master@dev
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

"require": {
"php": ">=5.3.2",
"dms/dms-filter": "^2.0 | ^3.0"
"dms/dms-filter": "^2.0 | ^3.0",
"symfony/symfony": "^2.8 | ^3"
},

"require-dev": {
"phpunit/phpunit": "~3.7",
"symfony/symfony": ">=2.3.0"
"phpunit/phpunit": "~3.7"
},

"autoload": {
Expand Down
Loading

0 comments on commit b234d85

Please sign in to comment.