2012-08-14 06:02:12 +02:00
|
|
|
language: php
|
|
|
|
php:
|
|
|
|
- 5.3
|
2012-08-21 00:33:54 +02:00
|
|
|
- 5.4
|
|
|
|
|
|
|
|
env:
|
|
|
|
- TESTDB=MYSQL
|
|
|
|
- TESTDB=PGSQL
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- php: 5.4
|
|
|
|
env: TESTDB=PGSQL
|
|
|
|
- php: 5.4
|
|
|
|
env: TESTDB=SQLITE
|
2012-08-14 06:02:12 +02:00
|
|
|
|
|
|
|
before_script:
|
2012-09-26 23:35:17 +02:00
|
|
|
- pear install pear/PHP_CodeSniffer
|
|
|
|
- phpenv rehash
|
2012-08-14 06:02:12 +02:00
|
|
|
- ./tests/travis/before_script ~/builds/ss
|
2012-08-14 06:11:37 +02:00
|
|
|
- cd ~/builds/ss
|
2012-08-14 06:02:12 +02:00
|
|
|
|
|
|
|
script:
|
2012-08-14 06:11:37 +02:00
|
|
|
- phpunit -c phpunit.xml.dist
|
2012-12-08 12:20:20 +01:00
|
|
|
- phpcs --encoding=utf-8 --tab-width=4 --standard=framework/tests/phpcs/ruleset.xml -np framework
|
|
|
|
- phpcs --encoding=utf-8 --standard=framework/tests/phpcs/tabs.xml -np framework
|
2012-09-03 03:20:11 +02:00
|
|
|
|
2012-10-16 10:25:18 +02:00
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- 2.1
|
|
|
|
- 2.2
|
|
|
|
- 2.3
|
|
|
|
- 2.4
|
|
|
|
- post-2.4
|
|
|
|
- translation-staging
|
|
|
|
|
2012-09-03 03:20:11 +02:00
|
|
|
notifications:
|
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "irc.freenode.org#silverstripe"
|