-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
39 lines (32 loc) · 1.07 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
language: php
sudo: false
php:
- 5.3
env:
- DB=MYSQL CORE_RELEASE=3.1
matrix:
include:
- php: 5.5
env: DB=PGSQL CORE_RELEASE=3.1
- php: 5.6
env: DB=SQLITE CORE_RELEASE=3.1 COVERAGE=1
- php: 5.6
env: DB=SQLITE CORE_RELEASE=master
allow_failures:
- env: DB=SQLITE CORE_RELEASE=master
before_script:
- composer self-update
- phpenv rehash
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
- if [ "$COVERAGE" = "1" ]; then composer require silverstripe/fulltextsearch; fi
script: ./shop_search/tests/travis/run_build.sh
after_script: ./shop_search/tests/travis/upload_coverage.sh
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/a5d8a44fda5c9c96be44
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always