silverstripe-translatable/.travis.yml

30 lines
662 B
YAML
Raw Normal View History

2012-10-02 21:34:53 +02:00
language: php
php:
- 5.3
- 5.4
env:
- TESTDB=MYSQL CORE_RELEASE=3.0
- TESTDB=MYSQL CORE_RELEASE=master
- TESTDB=PGSQL CORE_RELEASE=master
- TESTDB=SQLITE CORE_RELEASE=master
matrix:
exclude:
- php: 5.4
env: TESTDB=PGSQL CORE_RELEASE=master
- php: 5.4
env: TESTDB=SQLITE CORE_RELEASE=master
- php: 5.4
env: TESTDB=MYSQL CORE_RELEASE=3.0
before_script:
- pear -q install --onlyreqdeps pear/PHP_CodeSniffer
- phpenv rehash
- ./tests/travis/before_script ~/builds/ss
- cd ~/builds/ss
script:
- phpunit translatable/tests/
- phpcs --encoding=utf-8 --tab-width=4 --standard=translatable/tests/phpcs -np translatable