Merge pull request #84 from dhensby/pulls/1.0/travis-update

Adding more travis tests
This commit is contained in:
Daniel Hensby 2016-07-15 16:23:33 +01:00 committed by GitHub
commit 8c4f40df1b
1 changed files with 18 additions and 12 deletions

View File

@ -1,21 +1,27 @@
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
language: php
php:
- 5.3
sudo: false
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
env:
- DB=MYSQL CORE_RELEASE=3.0
- DB=MYSQL CORE_RELEASE=3.0
matrix:
include:
- php: 5.4
env: DB=MYSQL CORE_RELEASE=3.0
fast_finish: true
before_script:
- 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 dms/tests/
script:
- vendor/bin/phpunit dms/tests