forked from chubbyphp-legacy/chubbyphp-lazy-command
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (29 loc) · 890 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
dist: bionic
language: php
matrix:
include:
- php: 7.2
env: composerargs="--prefer-lowest"
- php: 7.2
- php: 7.3
env: composerargs="--prefer-lowest"
- php: 7.3
- php: 7.4
env: composerargs="--prefer-lowest"
- php: 7.4
- php: nightly
env: composerargs="--ignore-platform-reqs"
allow_failures:
- php: nightly
before_script:
- (phpenv config-rm xdebug.ini || exit 0)
- pecl install pcov
- echo 'Europe/Zurich' | sudo tee /etc/timezone
- echo 'date.timezone = "Europe/Zurich"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- composer self-update -q
- composer global require hirak/prestissimo
- composer update $composerargs -n
script:
- composer test
after_success:
- travis_retry php vendor/bin/php-coveralls --coverage_clover=build/phpunit/clover.xml --json_path=build/coveralls.json -v