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
|
|
|
|
2015-10-30 05:59:48 +01:00
|
|
|
language: php
|
|
|
|
|
2015-02-21 03:56:01 +01:00
|
|
|
php:
|
2017-02-13 10:16:47 +01:00
|
|
|
- 5.6
|
2012-10-02 21:34:53 +02:00
|
|
|
|
|
|
|
env:
|
2015-04-28 13:47:17 +02:00
|
|
|
- DB=MYSQL CORE_RELEASE=3
|
2012-10-02 21:34:53 +02:00
|
|
|
|
2015-10-30 05:59:48 +01:00
|
|
|
matrix:
|
|
|
|
include:
|
2017-02-13 10:16:47 +01:00
|
|
|
- php: 5.6
|
2015-10-30 05:59:48 +01:00
|
|
|
env: DB=PGSQL CORE_RELEASE=3
|
|
|
|
- php: 5.6
|
2017-02-13 10:16:47 +01:00
|
|
|
env: DB=MYSQL CORE_RELEASE=3
|
2015-10-30 05:59:48 +01:00
|
|
|
|
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
|
|
|
|
|
2015-10-30 05:59:48 +01:00
|
|
|
script:
|
2015-02-21 03:56:01 +01:00
|
|
|
- vendor/bin/phpunit translatable/tests/
|
2012-10-02 21:34:53 +02:00
|
|
|
- phpcs --encoding=utf-8 --tab-width=4 --standard=translatable/tests/phpcs -np translatable
|