silverstripe-fulltextsearch/.travis.yml

28 lines
781 B
YAML
Raw Normal View History

2013-03-29 10:10:08 +01:00
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
2014-05-22 06:31:19 +02:00
language: php
2013-03-29 10:10:08 +01:00
php:
- 5.3
env:
- DB=MYSQL CORE_RELEASE=3.1
matrix:
include:
2013-09-02 00:10:14 +02:00
- php: 5.3
env: DB=PGSQL CORE_RELEASE=3.1
2014-05-22 06:31:19 +02:00
- php: 5.3
env: DB=MYSQL CORE_RELEASE=3.1 SUBSITES=1
2013-03-29 10:10:08 +01:00
before_script:
2014-05-22 06:31:19 +02:00
- composer self-update
- phpenv rehash
2013-03-29 10:10:08 +01:00
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
2014-05-22 06:31:19 +02:00
- "if [ \"$SUBSITES\" = \"\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss; fi"
- "if [ \"$SUBSITES\" = \"1\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require silverstripe/subsites; fi"
2013-03-29 10:10:08 +01:00
- cd ~/builds/ss
script:
2014-05-22 06:31:19 +02:00
- vendor/bin/phpunit fulltextsearch/tests/