-
Notifications
You must be signed in to change notification settings - Fork 26
/
.travis.yml
97 lines (91 loc) · 1.94 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
language: php
os: linux
dist: trusty
services:
- mongodb
env:
- PHPUNIT_VERSION=7.5
jobs:
fast_finish: true
allow_failures:
- php: "nightly"
include:
- php: "5.3"
dist: precise
env:
- PHPUNIT_VERSION=4.8
- php: "5.4"
env:
- PHPUNIT_VERSION=4.8
- php: "5.5"
env:
- PHPUNIT_VERSION=4.8
- php: "5.6"
env:
- PHPUNIT_VERSION=5.7
- php: "7.0"
env:
- PHPUNIT_VERSION=6.5
- php: "7.1"
- php: "7.2"
- php: "7.3"
- php: "7.4"
- php: "nightly"
# without perftools/xhgui-collector
- php: "5.3"
dist: precise
env:
- XHGUI_COLLECTOR=false
- PHPUNIT_VERSION=4.8
- php: "5.4"
env:
- XHGUI_COLLECTOR=false
- PHPUNIT_VERSION=4.8
- php: "5.5"
env:
- XHGUI_COLLECTOR=false
- PHPUNIT_VERSION=4.8
- php: "5.6"
env:
- XHGUI_COLLECTOR=false
- PHPUNIT_VERSION=5.7
- php: "7.0"
env:
- XHGUI_COLLECTOR=false
- PHPUNIT_VERSION=6.5
- php: "7.1"
env:
- XHGUI_COLLECTOR=false
- PHPUNIT_VERSION=7.5
- php: "7.2"
env:
- XHGUI_COLLECTOR=false
- PHPUNIT_VERSION=7.5
- php: "7.3"
env:
- XHGUI_COLLECTOR=false
- PHPUNIT_VERSION=7.5
- php: "7.4"
env:
- XHGUI_COLLECTOR=false
- PHPUNIT_VERSION=7.5
- php: "nightly"
env:
- XHGUI_COLLECTOR=false
- PHPUNIT_VERSION=7.5
cache:
apt: true
directories:
- $HOME/.composer/cache
- vendor
install:
- composer config preferred-install dist
- composer remove --dev alcaeus/mongo-php-adapter --no-update
- composer install
- composer require --dev phpunit/phpunit:^$PHPUNIT_VERSION
- ./install-extensions.sh || true
- if [ "$XHGUI_COLLECTOR" = "false" ]; then composer remove --dev perftools/xhgui-collector; fi
script:
- vendor/bin/phpunit --version
- vendor/bin/phpunit --verbose
# vim:ts=2:sw=2:et