silverstripe-translatable/.travis.yml

28 lines
695 B
YAML
Raw Normal View History

# 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
php:
- 5.6
2012-10-02 21:34:53 +02:00
env:
- DB=MYSQL CORE_RELEASE=3
2012-10-02 21:34:53 +02:00
2015-10-30 05:59:48 +01:00
matrix:
include:
- php: 5.6
2015-10-30 05:59:48 +01:00
env: DB=PGSQL CORE_RELEASE=3
- php: 5.6
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
- 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:
- 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