Merge pull request #20 from dhensby/pulls/1.4/travis

Update travis test coverage
This commit is contained in:
Loz Calver 2016-03-23 13:50:28 +00:00
commit 149d1708b6

View File

@ -1,20 +1,33 @@
language: php
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
sudo: false
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
env:
matrix:
- DB=POSTGRESQL CORE_RELEASE=master
- DB=SQLITE CORE_RELEASE=3.2
matrix:
include:
- php: 5.6
env: CORE_RELEASE=3
- php: 5.6
env: CORE_RELEASE=3 PDO=1
- php: 5.6
env: CORE_RELEASE=3.3
before_script:
- composer self-update || true
- 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 install
script:
- phpunit framework/tests
- vendor/bin/phpunit framework/tests