Updating travis builds

This commit is contained in:
Daniel Hensby 2016-07-21 13:00:06 +01:00
parent 52abae49ca
commit 423a0d006e
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E

View File

@ -1,25 +1,36 @@
language: php # See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
sudo: false sudo: false
php: language: php
php:
- 5.3 - 5.3
- 5.4
- 5.5
- 5.6
env: env:
- DB=MYSQL CORE_RELEASE=3.1 - DB=MYSQL CORE_RELEASE=3.2
matrix: matrix:
include: include:
- php: 5.5 - php: 5.6
env: DB=MYSQL CORE_RELEASE=3 env: DB=MYSQL CORE_RELEASE=3
- php: 5.6 - php: 5.6
env: DB=MYSQL CORE_RELEASE=3.2 env: DB=PGSQL CORE_RELEASE=3.1
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.3
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.4
fast_finish: true
before_script: before_script:
- phpenv rehash - composer self-update || true
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support - git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss - php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss - cd ~/builds/ss
- composer install
script: script:
- phpunit gridfieldextensions/tests - vendor/bin/phpunit gridfieldextensions/tests