2013-03-29 09:18:44 +01:00
|
|
|
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
|
2013-03-28 11:21:32 +01:00
|
|
|
|
2012-10-02 21:34:53 +02:00
|
|
|
language: php
|
|
|
|
php:
|
|
|
|
- 5.3
|
2014-08-01 05:58:18 +02:00
|
|
|
- 5.4
|
2012-10-02 21:34:53 +02:00
|
|
|
|
|
|
|
env:
|
2013-03-28 11:21:32 +01:00
|
|
|
- DB=MYSQL CORE_RELEASE=3.1
|
2012-10-02 21:34:53 +02:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- pear -q install --onlyreqdeps pear/PHP_CodeSniffer
|
|
|
|
- phpenv rehash
|
2013-03-29 09:18:44 +01:00
|
|
|
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
|
|
|
|
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
|
2012-10-02 21:34:53 +02:00
|
|
|
- cd ~/builds/ss
|
|
|
|
|
|
|
|
script:
|
|
|
|
- phpunit translatable/tests/
|
|
|
|
- phpcs --encoding=utf-8 --tab-width=4 --standard=translatable/tests/phpcs -np translatable
|