Merge pull request #258 from robbieaverill/patch-1

Increase minimum PHP version and update Travis configuration
This commit is contained in:
Daniel Hensby 2017-01-26 20:39:18 +00:00 committed by GitHub
commit 0825e1a548
2 changed files with 12 additions and 12 deletions

View File

@ -2,24 +2,24 @@
language: php
php:
- 5.5
sudo: false
- 5.5
- 5.6
- 7.0
- 7.1
env:
- DB=MYSQL CORE_RELEASE=master
- DB=PGSQL CORE_RELEASE=master
- DB=MYSQL CORE_RELEASE=4
matrix:
include:
- php: 5.6
env: DB=MYSQL CORE_RELEASE=master
env: DB=PGSQL CORE_RELEASE=4
before_script:
- phpenv rehash
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
- phpenv rehash
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
script:
- phpunit translatable/tests/
- vendor/bin/phpunit translatable/tests/

View File

@ -13,7 +13,7 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=5.5.0",
"silverstripe/framework": "~4.0",
"silverstripe/cms": "~4.0"
},