-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
56 lines (48 loc) · 1.42 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
language: php
after_failure:
# Print *.actual content
- for i in $(find tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done
jobs:
include:
- env: title="PHP 5.6"
php: 5.6
install:
- composer install -d 2.3 --no-interaction -o
script:
- composer run-script -d 2.3 tests
- env: title="PHP 7.0"
php: 7.0
install:
- composer install -d 2.3 --no-interaction -o
script:
- composer run-script -d 2.3 tests
- env: title="PHP 7.1"
php: 7.1
install:
- composer install -d 2.3 --no-interaction -o
- composer install -d 2.4 --no-interaction -o
- composer install -d 3.0 --no-interaction -o
script:
- composer run-script -d 2.3 tests
- composer run-script -d 2.4 tests
- composer run-script -d 3.0 tests
- env: title="PHP 7.2"
php: 7.2
install:
- composer install -d 2.4 --no-interaction -o
- composer install -d 3.0 --no-interaction -o
script:
- composer run-script -d 2.4 tests
- composer run-script -d 3.0 tests
- env: title="PHP 7.3"
php: 7.3
install:
- composer install -d 2.4 --no-interaction -o
- composer install -d 3.0 --no-interaction -o
script:
- composer run-script -d 2.4 tests
- composer run-script -d 3.0 tests
sudo: false
cache:
directories:
- $HOME/.composer/cache