2012-09-21 05:34:12 +02:00
|
|
|
language: php
|
2013-03-28 22:54:32 +01:00
|
|
|
|
2012-09-21 05:34:12 +02:00
|
|
|
php:
|
|
|
|
- 5.3
|
2013-03-28 22:54:32 +01:00
|
|
|
- 5.4
|
2012-09-21 05:34:12 +02:00
|
|
|
|
|
|
|
env:
|
2013-03-28 21:15:11 +01:00
|
|
|
- DB=MYSQL CORE_RELEASE=3.0
|
|
|
|
- DB=PGSQL CORE_RELEASE=3.0
|
2013-03-28 22:54:32 +01:00
|
|
|
- DB=SQLITE3 CORE_RELEASE=3.0
|
|
|
|
- PHPCS=1 CORE_RELEASE=3.0
|
2012-09-21 05:34:12 +02:00
|
|
|
|
|
|
|
matrix:
|
2013-03-28 22:54:32 +01:00
|
|
|
exclude:
|
|
|
|
- php: 5.4
|
|
|
|
env: DB=PGSQL CORE_RELEASE=3.0
|
|
|
|
- php: 5.4
|
|
|
|
env: DB=SQLITE3 CORE_RELEASE=3.0
|
2012-09-21 05:34:12 +02:00
|
|
|
- php: 5.4
|
2013-03-28 22:54:32 +01:00
|
|
|
env: PHPCS=1 CORE_RELEASE=3.0
|
|
|
|
allow_failures:
|
|
|
|
- env: DB=PGSQL CORE_RELEASE=3.0
|
|
|
|
- env: DB=SQLITE3 CORE_RELEASE=3.0
|
|
|
|
- env: PHPCS=1 CORE_RELEASE=3.0
|
2012-09-21 05:34:12 +02:00
|
|
|
|
|
|
|
before_script:
|
2013-03-28 21:31:21 +01:00
|
|
|
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
|
|
|
|
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
|
2012-09-21 05:34:12 +02:00
|
|
|
- cd ~/builds/ss
|
|
|
|
|
|
|
|
script:
|
2013-03-28 21:15:11 +01:00
|
|
|
- phpunit cms/tests/
|
2012-09-21 05:34:12 +02:00
|
|
|
|
|
|
|
branches:
|
|
|
|
except:
|
2012-10-16 10:23:35 +02:00
|
|
|
- 2.1
|
|
|
|
- 2.2
|
|
|
|
- 2.3
|
2012-09-21 05:34:12 +02:00
|
|
|
- 2.4
|
2012-10-16 10:23:35 +02:00
|
|
|
- post-2.4
|
|
|
|
- translation-staging
|
2012-09-21 05:34:12 +02:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "irc.freenode.org#silverstripe"
|