Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 6f2e8ef

Browse files
committed
Update Travis Config
* Explicitely test PHP 7.0 (instead of PHP nightly) * Finish fast (give quicker feedback in PR) * Ignore Twig deprecations * Remove Symfony 2.5 & 2.6 as it reached eom
1 parent f668b69 commit 6f2e8ef

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.travis.yml

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

33
php:
4-
- 5.4
5-
- 5.5
6-
- 5.6
7-
- hhvm
8-
4+
- 5.4
5+
- 5.5
6+
- 5.6
7+
- 7.0
8+
- hhvm
9+
910
sudo: false
1011

1112
cache:
12-
directories:
13-
- $HOME/.composer/cache
13+
directories:
14+
- $HOME/.composer/cache
1415

1516
env:
16-
- SYMFONY_VERSION=2.5.*
17+
- SYMFONY_VERSION=2.7.*
1718

1819
matrix:
1920
allow_failures:
2021
- env: SYMFONY_VERSION=dev-master
2122
- php: hhvm
2223
include:
2324
- php: 5.6
24-
env: SYMFONY_VERSION=2.3.*
25+
env: SYMFONY_VERSION=2.3.* SYMFONY_DEPRECATIONS_HELPER=weak
2526
- php: 5.6
26-
env: SYMFONY_VERSION=2.6.*
27-
- php: 5.6
28-
env: SYMFONY_VERSION=2.7.*
27+
env: SYMFONY_VERSION=2.8.*
2928
- php: 5.6
3029
env: SYMFONY_VERSION=3.0.*
3130
allow_failures:
32-
- php: 5.6
33-
env: SYMFONY_VERSION=2.7.*
34-
- php: 5.6
35-
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
35+
36+
before_install: composer self-update
37+
38+
install: composer require symfony/symfony:${SYMFONY_VERSION} --prefer-dist
3639

37-
before_script:
38-
- composer self-update
39-
- composer require symfony/symfony:${SYMFONY_VERSION} --prefer-dist
40-
- vendor/symfony-cmf/testing/bin/travis/phpcr_odm_doctrine_dbal.sh
40+
before_script: vendor/symfony-cmf/testing/bin/travis/phpcr_odm_doctrine_dbal.sh
4141

4242
script:
43-
- phpunit --coverage-text
44-
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then ./vendor/symfony-cmf/testing/bin/server & fi
45-
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then ./vendor/bin/behat; fi
43+
- phpunit --coverage-text
44+
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then ./vendor/symfony-cmf/testing/bin/server & fi
45+
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then ./vendor/bin/behat; fi
4646

4747
notifications:
4848
irc: "irc.freenode.org#symfony-cmf"

0 commit comments

Comments
 (0)