-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
44 lines (36 loc) · 1.1 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
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
language: php
# Travis support wrote "Ubuntu 14.04 reached EOL on April 30th, 2019,
# ... we've been slowly rolling out changes to make Xenial builds ..."
# https://blog.travis-ci.com/2019-04-15-xenial-default-build-environment
# https://docs.travis-ci.com/user/reference/xenial/#services-disabled-by-default.
services:
- mysql
matrix:
fast_finish: true
include:
- env: DB=mysql; MW=REL1_31; TYPE=coverage; PHPUNIT=6.5.*
php: 7.3
- env: DB=mysql; MW=REL1_36; PHPUNIT=6.5.*
php: 7.3
- env: DB=sqlite; MW=REL1_35; PHPUNIT=6.5.*
php: 7.3
- env: DB=mysql; MW=REL1_35; PHPUNIT=6.5.*
php: 7.4
- env: DB=mysql; MW=master; PHPUNIT=6.5.*
php: 7.4
install:
- bash ./tests/travis/install-mediawiki.sh
- bash ./tests/travis/install-semantic-scribunto.sh
script:
- bash ./tests/travis/run-tests.sh
after_success:
- bash ./tests/travis/upload-coverage-report.sh
notifications:
email:
on_success: change
on_failure: always
cache:
directories:
- $HOME/.composer/cache