Skip to content

Commit

Permalink
Add Symfony 4.1, 4.2 and php nightly to the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
B-Galati committed Nov 23, 2018
1 parent fd24b11 commit fe7a6b6
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,31 @@ language: php
services:
- redis-server

php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- hhvm

matrix:
include:
- php: 5.4
- php: 5.5
- php: 5.6
- php: 5.6
env: SYMFONY_VERSION="2.7.*" SYMFONY_DEPRECATIONS_HELPER="weak"
- php: 5.6
env: SYMFONY_VERSION="2.8.*"
- php: 5.6
env: SYMFONY_VERSION="3.0.*"
- php: 7.0
- php: 7.1
- php: 7.1
env: SYMFONY_VERSION="4.0.*"
- php: 7.2
- php: 7.2
env: SYMFONY_VERSION="4.0.*"
- php: 7.2
env: SYMFONY_VERSION="4.2.*" SYMFONY_DEPRECATIONS_HELPER="weak" STABILITY="dev"
- php: nightly
allow_failures:
- php: hhvm
- php: nightly
- env: SYMFONY_VERSION="4.2.*" SYMFONY_DEPRECATIONS_HELPER="weak" STABILITY="dev"

sudo: false

Expand All @@ -42,6 +44,7 @@ before_install:
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then phpenv rehash; fi;
- composer self-update
- if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; fi;
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/symfony:${SYMFONY_VERSION}; fi;

install: composer update
Expand Down

0 comments on commit fe7a6b6

Please sign in to comment.