mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
Upgrade Travis config to trusty
Can't adopt Xenial by default as it doesn't include earlier PHP versions
This commit is contained in:
parent
338c512e15
commit
deb80c5370
@ -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
|
||||
@ -33,7 +31,7 @@ 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…
x
Reference in New Issue
Block a user