This commit is contained in:
helpfulrobot 2016-08-10 01:53:26 +00:00 committed by GitHub
commit bf9a8fcb40
1 changed files with 15 additions and 12 deletions

View File

@ -1,25 +1,28 @@
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
language: php
php:
- 5.5
sudo: false
language: php
php:
- 5.5
- 5.6
- 7.0
env:
- DB=MYSQL CORE_RELEASE=master
- DB=PGSQL CORE_RELEASE=master
- DB=MYSQL CORE_RELEASE=4.0
matrix:
include:
- php: 5.6
env: DB=MYSQL CORE_RELEASE=master
env: DB=PGSQL CORE_RELEASE=4.0
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
- composer self-update || true
- 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
- composer install
script:
- phpunit translatable/tests/
- vendor/bin/phpunit silverstripe-translatable/tests