-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
48 lines (40 loc) · 1.23 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
48
language: php
os:
- linux
# 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
jobs:
fast_finish: true
include:
- env: DB=mysql; MW=master; SMW=~3.2@dev; PHPUNIT=8.5.*
php: 7.4
- env: DB=mysql; MW=REL1_31; SMW=~3.1@dev; PHPUNIT=6.5.*
php: 7.1
- env: DB=sqlite; MW=REL1_31; SMW=~3.1@dev; SITELANG=ja
php: 7.1
- env: DB=mysql; MW=REL1_32; SMW=~3.1@dev; TYPE=coverage
php: 7.3
- env: DB=sqlite; MW=REL1_34; SMW=~3.1@dev; PHPUNIT=6.5.*
php: 7.2
- env: DB=mysql; MW=REL1_34; SMW=~3.2@dev; PHPUNIT=6.5.*
php: 7.3
allow_failures:
- env: DB=mysql; MW=master; SMW=~3.2@dev; PHPUNIT=8.5.*
install:
- bash ./tests/travis/install-mediawiki.sh
- bash ./tests/travis/install-semantic-meta-tags.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