forked from silvershop/silvershop-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (40 loc) · 1.09 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
40
41
42
43
44
45
46
47
language: php
sudo: false
php:
- 5.3
env:
- DB=MYSQL CORE_RELEASE=3.2
matrix:
include:
- php: 5.4
env: DB=MYSQL CORE_RELEASE=3.1
- php: 5.5
env: DB=SQLITE CORE_RELEASE=3.2
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.2 COVERAGE=1
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.2 COVERAGE=2
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.2 COVERAGE=3
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.3
- php: 5.6
env: DB=PGSQL CORE_RELEASE=master
allow_failures:
- env: DB=PGSQL CORE_RELEASE=master
before_script:
- composer self-update
- phpenv rehash
- tar cf ~/gitbackup.tar .git
- 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
script: ./silvershop/tests/travis/run_build.sh
after_success: ./silvershop/tests/travis/upload_coverage.sh
notifications:
webhooks:
urls:
- 'https://webhooks.gitter.im/e/a3720004986a0f249abc'
on_success: change
on_failure: always
on_start: false