mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-06 01:31:22 +02:00
We'll need to fix the "no space left on device" issue, most likely caused by Postgres keeping too much of a query log, or somehow creating a history of past data. For now, having a Postgres build breaking the whole build process (incl. MySQL builds) does more harm than good.
46 lines
866 B
YAML
46 lines
866 B
YAML
language: php
|
|
php:
|
|
- 5.3
|
|
- 5.4
|
|
|
|
env:
|
|
- TESTDB=MYSQL
|
|
- TESTDB=SQLITE
|
|
|
|
matrix:
|
|
exclude:
|
|
- php: 5.4
|
|
env: TESTDB=PGSQL
|
|
- php: 5.4
|
|
env: TESTDB=SQLITE
|
|
include:
|
|
- php: 5.4
|
|
env:
|
|
- PHPCS=1
|
|
allow_failures:
|
|
- env: TESTDB=PGSQL
|
|
- php: 5.4
|
|
env:
|
|
- PHPCS=1
|
|
|
|
before_script:
|
|
- pear install pear/PHP_CodeSniffer
|
|
- phpenv rehash
|
|
- ./tests/travis/before_script ~/builds/ss
|
|
- cd ~/builds/ss
|
|
|
|
script:
|
|
- sh -c "if [ '$PHPCS' != '1' ]; then phpunit -c phpunit.xml.dist; else 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; fi"
|
|
|
|
branches:
|
|
except:
|
|
- 2.1
|
|
- 2.2
|
|
- 2.3
|
|
- translation-staging
|
|
|
|
notifications:
|
|
irc:
|
|
channels:
|
|
- "irc.freenode.org#silverstripe"
|