mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
commit
a2b9a966d8
12
.travis.yml
12
.travis.yml
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user