Skip to content

Commit

Permalink
Merge pull request #14 from peter-gribanov/php5.5
Browse files Browse the repository at this point in the history
Test PHP 5.5, 7.3 and ignore HHVM
  • Loading branch information
peter-gribanov committed Aug 6, 2019
2 parents 3db48d8 + 160d54b commit e97a576
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,38 @@ branches:
matrix:
fast_finish: true
include:
- php: 7.3
- php: 7.2
- php: 7.1
- php: 7.0
- php: 5.6
- php: 5.5
dist: trusty
- php: 5.5
env: SYMFONY_VERSION=2.7.*
dist: trusty
- php: 5.5
env: SYMFONY_VERSION=2.8.*
dist: trusty
- php: 5.5
env: SYMFONY_VERSION=3.4.*
dist: trusty
- php: 7.1
env: SYMFONY_VERSION=4.1.* PHPUNIT_VERSION=5.7.*
- php: 5.5
env: PREDIS_VERSION=1.0.*
dist: trusty
- php: 5.5
env: PREDIS_VERSION=1.1.*
dist: trusty
- php: 5.6
env: PUBSUB_PREDIS_VERSION=2.0.*
- php: hhvm
sudo: required
dist: trusty
group: edge

before_install:
- if [ "$TRAVIS_PHP_VERSION" = "hhvm" ]; then echo 'xdebug.enable = on' >> /etc/hhvm/php.ini; fi
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;

before_script:
- echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --dev --no-update; fi;
- if [ "$PREDIS_VERSION" != "" ]; then composer require "predis/predis:${PREDIS_VERSION}" --dev --no-update; fi;
- if [ "$PUBSUB_PREDIS_VERSION" != "" ]; then composer require "superbalist/php-pubsub-redis:${PUBSUB_PREDIS_VERSION}" --dev --no-update; fi;
Expand Down

0 comments on commit e97a576

Please sign in to comment.