-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
45 lines (38 loc) · 1.02 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
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
sudo: false
language: php
php:
- 7.2
- 7.3
env:
- DB=MYSQL CORE_RELEASE=4.0
matrix:
include:
- php: 7.2
env: DB=MYSQL CORE_RELEASE=4
- php: 7.2
env: DB=PGSQL CORE_RELEASE=4
- php: 7.3
env: DB=MYSQL CORE_RELEASE=4
- php: 7.3
env: DB=PGSQL CORE_RELEASE=4
- php: 7.2
env: DB=MYSQL CORE_RELEASE=4.1
- php: 7.2
env: DB=PGSQL CORE_RELEASE=4.1
- php: 7.3
env: DB=MYSQL CORE_RELEASE=4.1
- php: 7.3
env: DB=PGSQL CORE_RELEASE=4.1
allow_failures:
- php: 7.2
before_script:
- composer self-update || true
- composer clear-cache
- composer validate --strict
- 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
- composer install
script:
- ./vendor/bin/phpunit ./vendor/friendsofsilverstripe/backendmessages/tests