silverstripe-translatable/.travis.yml

26 lines
667 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
2012-10-02 21:34:53 +02:00
language: php
php:
- 5.3
env:
2013-03-28 11:21:32 +01:00
- DB=MYSQL CORE_RELEASE=3.0
- DB=PGSQL CORE_RELEASE=3.0
2012-10-02 21:34:53 +02:00
matrix:
2013-03-28 11:21:32 +01:00
include:
2012-10-02 21:34:53 +02:00
- php: 5.4
2013-03-28 11:21:32 +01:00
env: DB=MYSQL CORE_RELEASE=3.0
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
script:
- phpunit translatable/tests/
- phpcs --encoding=utf-8 --tab-width=4 --standard=translatable/tests/phpcs -np translatable