forked from php-http/psr7-integration-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (34 loc) · 776 Bytes
/
.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
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
php:
- 7.2
- 7.3
- 7.4
- 'nightly'
env:
global:
- TEST_COMMAND="./vendor/bin/phpunit"
matrix:
- SUITE="Guzzle"
- SUITE="Laminas"
- SUITE="Slim"
- SUITE="Nyholm"
- SUITE="RingCentral"
branches:
except:
- /^analysis-.*$/
- /^patch-.*$/
before_install:
- iphpenv config-rm xdebug.ini || true
install:
- |
if [[ $TRAVIS_PHP_VERSION == 'nightly' ]]; then
travis_retry composer update --prefer-dist --no-interaction --ignore-platform-reqs
else
travis_retry composer update --prefer-dist --no-interaction
fi
script:
- $TEST_COMMAND --testsuite $SUITE