Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Commit

Permalink
Merge pull request #68 from rande/add_sf30_support
Browse files Browse the repository at this point in the history
improve support for sf3.0
  • Loading branch information
rande committed Dec 2, 2015
2 parents 3ca362f + 09c4140 commit 36a217b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 18 deletions.
34 changes: 19 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
language: php

php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm

sudo: false
Expand All @@ -17,37 +12,46 @@ cache:

env:
global:
- PATH="$HOME/.composer/vendor/bin:$PATH"
- SYMFONY_DEPRECATIONS_HELPER=weak

matrix:
fast_finish: true
include:
- php: 5.6
env: CS_FIXER=run
- php: 5.3
env: SYMFONY_VERSION=2.8.*
- php: 5.4
env: SYMFONY_VERSION=2.8.*
- php: 5.6
env: SYMFONY_VERSION=2.8.* CS_FIXER=run
- php: 5.3
env: COMPOSER_FLAGS="--prefer-lowest"
- php: 5.6
env: SYMFONY_VERSION=2.3.*
- php: 5.6
env: SYMFONY_VERSION=2.6.*
- php: 5.6
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=2.8.*@dev
env: SYMFONY_VERSION=2.8.*
- php: 5.5
env: SYMFONY_VERSION="3.0.*" ACL_VERSION="dev-master"
- php: 5.6
env: SYMFONY_VERSION="3.0.x-dev as 2.8"
allow_failures:
env: SYMFONY_VERSION="3.0.*" ACL_VERSION="dev-master"
- php: 7.0
env: SYMFONY_VERSION="3.0.*" ACL_VERSION="dev-master"

allow_failures:
- php: hhvm
- env: SYMFONY_VERSION=2.8.*@dev
- env: SYMFONY_VERSION="3.0.x-dev as 2.8"

before_script:
- (phpenv config-rm xdebug.ini || exit 0)
- mkdir -p ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d && echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- composer selfupdate
- composer config -q github-oauth.github.com $GITHUB_OAUTH_TOKEN
- if [ "$SYMFONY_VERSION" = "2.8.*@dev" ] || [ "$SYMFONY_VERSION" = "3.0.x-dev as 2.8" ]; then SYMFONY_DEPRECATIONS_HELPER=strict; fi;
- composer config -q -g github-oauth.github.com $GITHUB_OAUTH_TOKEN
- composer global require phpunit/phpunit:@stable fabpot/php-cs-fixer --no-update
- composer global update --prefer-dist --no-interaction
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
- if [ "$ACL_VERSION" != "" ]; then composer require "symfony/security-acl:${ACL_VERSION}" --no-update; fi;
- travis_wait composer update --prefer-dist --no-interaction $COMPOSER_FLAGS
- export PATH=$HOME/.local/bin:$PATH
- pip install -r Resources/doc/requirements.txt --user `whoami`
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
],
"require": {
"php": ">=5.3.2",
"symfony/framework-bundle": "~2.1",
"symfony/console": "~2.1",
"symfony/finder": "~2.1"
"symfony/framework-bundle": "~2.1|~3.0",
"symfony/console": "~2.1|~3.0",
"symfony/finder": "~2.1|~3.0"
},
"require-dev": {
"doctrine/orm": "~2.1",
Expand Down

0 comments on commit 36a217b

Please sign in to comment.