Skip to content

Commit

Permalink
Add PHP 7.4 to Travis CI, remove PHP 5.5 from Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
atrol committed Dec 26, 2019
1 parent b2506fe commit 078044e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Expand Up @@ -4,14 +4,14 @@

language: php

# Travis is migrating to Xenial, which does not support PHP 5.5 so we need to
# force use of Trusty until we raise our minimum PHP version requirement.
dist: trusty

# -----------------------------------------------------------------------------
# Environment setup and test scripts execution
#

services:
- postgresql
- mysql

before_install:
# If PHP >= 7.0, force use of PHPunit 5.7
- if php -r "exit( (int)! version_compare( '$TRAVIS_PHP_VERSION', '7.0', '>=' ) );"; then mkdir -p ~/bin && wget -O ~/bin/phpunit https://phar.phpunit.de/phpunit-5.7.phar && chmod +x ~/bin/phpunit; fi
Expand All @@ -27,12 +27,12 @@ script:
#

php:
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4

env:
- DB=mysql
Expand Down

0 comments on commit 078044e

Please sign in to comment.