mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
# See https://github.com/silverstripe/silverstripe-travis-support for setup details
|
|
|
|
language: php
|
|
|
|
dist: trusty
|
|
|
|
matrix:
|
|
include:
|
|
- php: '7.1'
|
|
env: DB=PGSQL CORE_RELEASE=3.7
|
|
- php: '7.1'
|
|
env: DB=MYSQL CORE_RELEASE=3.7
|
|
- php: '7.2'
|
|
env: DB=MYSQL CORE_RELEASE=3.7 SUBSITES=1
|
|
- php: '7.2'
|
|
env: DB=MYSQL CORE_RELEASE=3.7 QUEUEDJOBS=1
|
|
- php: '7.3'
|
|
env: DB=MYSQL CORE_RELEASE=3.7
|
|
|
|
before_script:
|
|
- composer self-update || true
|
|
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
|
|
- "if [ \"$SUBSITES\" = \"\" -a \"$QUEUEDJOBS\" = \"\" ]; 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"
|
|
- "if [ \"$QUEUEDJOBS\" = \"1\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require silverstripe/queuedjobs; fi"
|
|
- cd ~/builds/ss
|
|
|
|
script:
|
|
- vendor/bin/phpunit fulltextsearch/tests
|