mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
b7e7c165ff
At this stage, the test just checks line-length and line-endings, but previous commits have ensured that framework actually passes those tests. We can add more tests as we actually correct the code to pass those tests, and grow the test suite, as we had for unit tests.
31 lines
510 B
YAML
31 lines
510 B
YAML
language: php
|
|
php:
|
|
- 5.3
|
|
- 5.4
|
|
|
|
env:
|
|
- TESTDB=MYSQL
|
|
- TESTDB=PGSQL
|
|
|
|
matrix:
|
|
exclude:
|
|
- php: 5.4
|
|
env: TESTDB=PGSQL
|
|
- php: 5.4
|
|
env: TESTDB=SQLITE
|
|
|
|
before_script:
|
|
- pear install pear/PHP_CodeSniffer
|
|
- phpenv rehash
|
|
- ./tests/travis/before_script ~/builds/ss
|
|
- cd ~/builds/ss
|
|
|
|
script:
|
|
- phpunit -c phpunit.xml.dist
|
|
- phpcs --encoding=utf-8 --tab-width=4 --standard=framework/tests/phpcs -np framework
|
|
|
|
notifications:
|
|
irc:
|
|
channels:
|
|
- "irc.freenode.org#silverstripe"
|