Skip to content

Commit 59a7012

Browse files
committed
Update Travis Config
* Explicitely test PHP 7.0 (instead of PHP nightly) * Finish fast (give quicker feedback in PR) * Remove Symfony 2.6 as it reached eom
1 parent 209711f commit 59a7012

File tree

1 file changed

+16
-20
lines changed

1 file changed

+16
-20
lines changed

.travis.yml

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,44 @@
11
language: php
22

33
php:
4-
- 5.3
5-
- 5.4
6-
- 5.5
7-
- 5.6
8-
- hhvm
9-
- nightly
4+
- 5.3
5+
- 5.4
6+
- 5.5
7+
- 5.6
8+
- 7.0
9+
- hhvm
1010

1111
sudo: false
1212

1313
cache:
14-
directories:
15-
- $HOME/.composer/cache
14+
directories:
15+
- $HOME/.composer/cache
1616

1717
env:
1818
- SYMFONY_VERSION=2.7.*
1919

2020
matrix:
2121
include:
22-
- php: 5.3
23-
env: SYMFONY_VERSION=2.3.* COMPOSER_FLAGS="--prefer-lowest"
2422
- php: 5.6
2523
env: SYMFONY_VERSION=2.3.*
26-
- php: 5.6
27-
env: SYMFONY_VERSION=2.6.*
2824
- php: 5.6
2925
env: SYMFONY_VERSION=2.8.*
3026
- php: 5.6
3127
env: SYMFONY_VERSION=3.0.*
28+
- php: 5.3
29+
env: SYMFONY_VERSION=2.3.* COMPOSER_FLAGS="--prefer-lowest"
3230
allow_failures:
33-
- php: nightly
34-
- php: 5.6
35-
env: SYMFONY_VERSION=2.8.*
36-
- php: 5.6
37-
env: SYMFONY_VERSION=3.0.*
31+
- php: 7.0
32+
- env: SYMFONY_VERSION=2.8.*
33+
- env: SYMFONY_VERSION=3.0.*
34+
fast_finish: true
3835

3936
before_install:
4037
- composer self-update
41-
42-
install:
4338
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
4439
- composer require symfony/symfony:${SYMFONY_VERSION} --no-update
45-
- composer update --prefer-source $COMPOSER_FLAGS
40+
41+
install: composer update --prefer-source $COMPOSER_FLAGS
4642

4743
script: phpunit --coverage-text
4844

0 commit comments

Comments
 (0)