Skip to content

Commit

Permalink
Closed #2
Browse files Browse the repository at this point in the history
  • Loading branch information
soullivaneuh committed Apr 29, 2015
1 parent 766490c commit 1f1e5a0
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,13 @@ php:
- hhvm
- nightly

env:
- SYMFONY_VERSION=2.6.*

matrix:
fast_finish: true
include:
- php: 5.3.3
env: SYMFONY_VERSION=2.3.* COMPOSER_FLAGS="--prefer-lowest"
env: COMPOSER_FLAGS="--prefer-lowest"
- php: 5.6
env: SYMFONY_VERSION=2.3.*
- php: 5.6
env: SYMFONY_VERSION=2.4.*
- php: 5.6
env: SYMFONY_VERSION=2.5.*
- php: 5.6
Expand All @@ -29,14 +24,16 @@ matrix:
- php: 5.6
env: SYMFONY_VERSION=2.8.*@dev
- php: 5.6
env: SYMFONY_VERSION="3.0.x-dev as 2.6" # Trick to avoid deps error
env: SYMFONY_VERSION="3.0.x-dev as 2.6"
allow_failures:
- php: hhvm
- php: nightly
- env: SYMFONY_VERSION=2.7.*@dev
- env: SYMFONY_VERSION=2.8.*@dev
- env: SYMFONY_VERSION="3.0.x-dev as 2.6"

sudo: false

cache:
directories:
- vendor
Expand All @@ -45,8 +42,8 @@ cache:
before_script:
- composer selfupdate
- composer config -g github-oauth.github.com $GITHUB_OAUTH_TOKEN
- composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update
- composer update --prefer-dist $COMPOSER_FLAGS
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
- composer update --prefer-dist --no-interaction $COMPOSER_FLAGS

script:
- php vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
Expand Down

0 comments on commit 1f1e5a0

Please sign in to comment.