Skip to content

Commit

Permalink
Merge pull request nelmio#334 from theofidry/travis/fast-finish
Browse files Browse the repository at this point in the history
[v2] Travis on steroid
  • Loading branch information
theofidry committed May 11, 2016
2 parents f0a642f + 02dce06 commit e5716be
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ sudo: false

language: php

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

php:
- 5.4
- 5.5
Expand All @@ -10,6 +14,7 @@ php:
- hhvm

matrix:
fast_finish: true
include:
- php: 5.5
env: SYMFONY_VERSION='2.3.*'
Expand All @@ -20,9 +25,14 @@ matrix:
- php: 5.6
env: SYMFONY_VERSION='3.0.*'

before_install:
install:
- if [ "hhvm" != "$TRAVIS_PHP_VERSION" ]; then
phpenv config-rm xdebug.ini;
fi;
- composer self-update
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update "symfony/symfony:${SYMFONY_VERSION}"; fi;
- if [ "$SYMFONY_VERSION" != "" ]; then
composer require --no-update "symfony/symfony:${SYMFONY_VERSION}";
fi;

before_script:
- composer install --prefer-source
Expand Down

0 comments on commit e5716be

Please sign in to comment.