silverstripe-framework/.travis.yml
Sam Minnee 244bc97794 Don't register a PGSQL failure as a Travis build failure.
Although PGSQL build will still be executed, a failure of that build won't registre as a Travis failure.  This is a workaround until the PGSQL build has been fixed.
2012-12-14 14:28:26 +13:00

43 lines
748 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
allow_failures:
- env: TESTDB=PGSQL
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/ruleset.xml -np framework
- phpcs --encoding=utf-8 --standard=framework/tests/phpcs/tabs.xml -np framework
branches:
except:
- 2.1
- 2.2
- 2.3
- 2.4
- post-2.4
- translation-staging
notifications:
irc:
channels:
- "irc.freenode.org#silverstripe"