mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
27 lines
565 B
YAML
27 lines
565 B
YAML
language: php
|
|
php:
|
|
- 5.3
|
|
- 5.4
|
|
|
|
env:
|
|
- TESTDB=MYSQL CORE_RELEASE=3.1
|
|
- TESTDB=MYSQL CORE_RELEASE=master
|
|
- TESTDB=PGSQL CORE_RELEASE=master
|
|
|
|
matrix:
|
|
exclude:
|
|
- php: 5.4
|
|
env: TESTDB=PGSQL CORE_RELEASE=master
|
|
- php: 5.4
|
|
env: TESTDB=MYSQL CORE_RELEASE=3.1
|
|
|
|
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
|