Commit 74c510c6 authored by Fabien Potencier's avatar Fabien Potencier

minor #1227 [1.3] Update travis configuration to use container based...

minor #1227 [1.3] Update travis configuration to use container based infrastructure, al… (henrikbjorn)

This PR was merged into the 1.3 branch.

Discussion
----------

[1.3] Update travis configuration to use container based infrastructure, al…

…so use cache for composer in order to reduce network usage

Commits
-------

258b7ea5 Update travis configuration to use container based infrastructure, also use cache for composer in order to reduce network usage
parents d29f7399 258b7ea5
language: php language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
before_script: before_script:
# symfony/* # symfony/*
- sh -c "if [ '$SYMFONY_DEPS_VERSION' = '2.8' ]; then sed -i 's/~2.3/2.8.*@dev/g' composer.json; composer update --dev --prefer-source; fi" - sh -c "if [ '$SYMFONY_DEPS_VERSION' = '2.8' ]; then sed -i 's/~2.3/2.8.*@dev/g' composer.json; composer update --dev --prefer-source; fi"
...@@ -10,21 +16,16 @@ before_script: ...@@ -10,21 +16,16 @@ before_script:
script: phpunit script: phpunit
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix: matrix:
allow_failures:
- php: hhvm
include: include:
- php: 5.3
- php: 5.4
- php: 5.5
- php: 5.6 - php: 5.6
env: SYMFONY_DEPS_VERSION=2.3 env: SYMFONY_DEPS_VERSION=2.3
- php: 5.6 - php: 5.6
env: SYMFONY_DEPS_VERSION=2.7 env: SYMFONY_DEPS_VERSION=2.7
- php: 5.6 - php: 5.6
env: SYMFONY_DEPS_VERSION=2.8 env: SYMFONY_DEPS_VERSION=2.8
- php: 7.0
- php: hhvm
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment