silverstripe-fulltextsearch/.travis.yml

35 lines
1.1 KiB
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
sudo: false
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
- php: 5.3
env: DB=MYSQL CORE_RELEASE=3.1 QUEUEDJOBS=1
2015-10-30 02:56:57 +01:00
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3.2
2013-03-29 10:10:08 +01:00
before_script:
- composer self-update || true
2014-05-22 06:31:19 +02:00
- phpenv rehash
2013-03-29 10:10:08 +01:00
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- "if [ \"$SUBSITES\" = \"\" -a \"$QUEUEDJOBS\" = \"\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss; fi"
2014-05-22 06:31:19 +02:00
- "if [ \"$SUBSITES\" = \"1\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require silverstripe/subsites; fi"
- "if [ \"$QUEUEDJOBS\" = \"1\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require silverstripe/queuedjobs; 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/