Add tests for 3.2 and php 5.6

This commit is contained in:
Damian Mooyman 2015-10-30 17:59:48 +13:00
parent 8102975ce9
commit 2e75581861

View File

@ -1,13 +1,22 @@
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
language: php
language: php
php:
- 5.3
- 5.4
- 5.3
env:
- DB=MYSQL CORE_RELEASE=3
matrix:
include:
- php: 5.4
env: DB=PGSQL CORE_RELEASE=3
- php: 5.5
env: DB=MYSQL CORE_RELEASE=3.2
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3.2
before_script:
- pear -q install --onlyreqdeps pear/PHP_CodeSniffer
- phpenv rehash
@ -15,6 +24,6 @@ before_script:
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
script:
script:
- vendor/bin/phpunit translatable/tests/
- phpcs --encoding=utf-8 --tab-width=4 --standard=translatable/tests/phpcs -np translatable