-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
49 lines (37 loc) · 1.07 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
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
php: 7.1
matrix:
fast_finish: true
before_script:
- vendor/bin/php-cs-fixer --diff --dry-run -v fix
script:
- vendor/bin/phpunit -v
after_success:
- 'if [[ $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_BRANCH == "master" && $TRAVIS_PHP_VERSION == "7.1" ]]; then sh generate-api.sh; fi;'
notifications:
email: false
jobs:
include:
-
name: 'Default installation - PHP 7.1'
install:
- composer install -n --no-progress
-
name: 'Default installation - PHP 7.2'
php: 7.2
install:
- composer install -n --no-progress
-
name: 'Default installation - PHP 7.3'
php: 7.3
install:
- composer install -n --no-progress
-
name: 'Installation with minimum requirements'
install:
- phpenv config-rm xdebug.ini
- composer update -n --no-progress --prefer-lowest