silverstripe-restfulserver/.travis.yml

30 lines
665 B
YAML
Raw Normal View History

2012-10-31 00:18:45 +01: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 restfulserver/tests/
- phpcs --encoding=utf-8 --tab-width=4 --standard=restfulserver/tests/phpcs -np restfulserver