mirror of
https://github.com/silverstripe/silverstripe-restfulserver
synced 2024-10-22 14:05:58 +02:00
31 lines
766 B
YAML
31 lines
766 B
YAML
language: php
|
|
php:
|
|
- 5.3
|
|
- 5.4
|
|
|
|
env:
|
|
- DB=MYSQL CORE_RELEASE=3.0
|
|
- DB=MYSQL CORE_RELEASE=master
|
|
- DB=PGSQL CORE_RELEASE=master
|
|
- DB=SQLITE CORE_RELEASE=master
|
|
|
|
matrix:
|
|
exclude:
|
|
- php: 5.4
|
|
env: DB=PGSQL CORE_RELEASE=master
|
|
- php: 5.4
|
|
env: DB=SQLITE CORE_RELEASE=master
|
|
- php: 5.4
|
|
env: DB=MYSQL CORE_RELEASE=3.0
|
|
|
|
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
|
|
- cd ~/builds/ss
|
|
|
|
script:
|
|
- phpunit restfulserver/tests/
|
|
- phpcs --encoding=utf-8 --tab-width=4 --standard=restfulserver/tests/phpcs -np restfulserver
|