-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
62 lines (52 loc) · 1.39 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#####
# This file is part of the MediaWiki Extension BootstrapComponents.
#
# @copyright 2018, Tobias Oetterer, Paderborn University
# @license GNU General Public License, version 3 (or any later version)
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <http://www.gnu.org/licenses/>.
#
# @file
#
# @author Tobias Oetterer
# @since 1.0
# @ingroup BootstrapComponents
#####
os: linux
# https://docs.travis-ci.com/user/languages/php
language: php
# https://docs.travis-ci.com/user/trusty-ci-environment/
dist: trusty
jobs:
fast_finish: true
include:
- env: DB=mysql; MW=REL1_35; PHPUNIT=7.5.*
php: 7.4
- env: DB=mysql; MW=REL1_37; PHPUNIT=8.5.*
php: 7.4
- env: DB=mysql; MW=REL1_38; PHPUNIT=8.5.*
php: 8.0
- env: DB=mysql; MW=REL1_39; PHPUNIT=8.5.*; TYPE=coverage
php: 7.4
- env: DB=mysql; MW=REL1_39; PHPUNIT=8.5.*
php: 8.0
- env: DB=mysql; MW=master; PHPUNIT=8.5.*
php: 7.4
- env: DB=mysql; MW=master; PHPUNIT=8.5.*
php: 8.0
allow_failures:
- env: DB=mysql; MW=master; PHPUNIT=8.5.*
install:
- bash ./tests/travis/install-system.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