Merge pull request #2529 from creative-commoners/pulls/3.7/php-7.4-builds

Update Travis config to include PHP 7.4 build (3.x)
This commit is contained in:
Daniel Hensby 2020-04-05 21:23:51 +01:00 committed by GitHub
commit a2b9a966d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,6 @@
language: php
dist: precise
dist: trusty
sudo: false
@ -18,8 +18,6 @@ env:
matrix:
include:
- php: 5.3
env: DB=MYSQL
- php: 5.4
env: DB=PGSQL
- php: 5.5
@ -28,12 +26,18 @@ matrix:
env: DB=MYSQL PDO=1
- php: 5.6
env: DB=MYSQL BEHAT_TEST=1
- php: 7.4
env: DB=MYSQL
dist: xenial
services:
- mysql
before_script:
- composer self-update || true
- phpenv rehash
- phpenv config-rm xdebug.ini
- echo 'memory_limit = 2048M' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- echo 'memory_limit = 3072M' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
- "if [ \"$BEHAT_TEST\" = \"\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss; fi"
- "if [ \"$BEHAT_TEST\" = \"1\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require silverstripe/behat-extension; fi"