mirror of
https://github.com/silverstripe/silverstripe-restfulserver
synced 2024-10-22 14:05:58 +02:00
30 lines
665 B
YAML
30 lines
665 B
YAML
|
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 restfulserver/tests/
|
||
|
- phpcs --encoding=utf-8 --tab-width=4 --standard=restfulserver/tests/phpcs -np restfulserver
|