forked from googleapis/google-auth-library-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
65 lines (53 loc) · 1.4 KB
/
.travis.yml
File metadata and controls
65 lines (53 loc) · 1.4 KB
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
language: php
dist: trusty
matrix:
include:
- name: "PHP 5.4"
php: "5.4"
- name: "PHP 5.4 (Prefer Lowest Dependency Version)"
php: "5.4"
env: COMPOSER_ARGS="--prefer-lowest"
- name: "PHP 5.5"
php: "5.5"
- name: "PHP 5.5 (Prefer Lowest Dependency Version)"
php: "5.5"
env: COMPOSER_ARGS="--prefer-lowest"
- name: "PHP 5.6"
php: "5.6"
- name: "PHP 5.6 (Prefer Lowest Dependency Version)"
php: "5.6"
env: COMPOSER_ARGS="--prefer-lowest"
- name: "PHP 7.0"
php: "7.0"
- name: "PHP 7.0 (Prefer Lowest Dependency Version)"
php: "7.0"
env: COMPOSER_ARGS="--prefer-lowest"
- name: "PHP 7.1"
php: "7.1"
- name: "PHP 7.1 (Prefer Lowest Dependency Version)"
php: "7.1"
env: COMPOSER_ARGS="--prefer-lowest"
- name: "PHP 7.2"
php: "7.2"
- name: "PHP 7.2 (Prefer Lowest Dependency Version)"
php: "7.2"
env: COMPOSER_ARGS="--prefer-lowest"
- name: "PHP 7.3"
php: "7.3"
- name: "PHP 7.4"
php: "7.4"
- name: "Check Style"
php: "7.4"
env: RUN_CS_FIXER=true
before_script:
- composer update $COMPOSER_ARGS
script:
- if [ "${RUN_CS_FIXER}" = "true" ]; then
vendor/bin/php-cs-fixer fix --dry-run --diff --config-file=.php_cs .;
else
vendor/bin/phpunit;
fi
cache:
directories:
- vendor
- "$HOME/.composer/cache"