This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
38 lines (30 loc) · 1.54 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
dist: bionic
language: php
php:
- 8.1
- 8.2
env:
global:
- SETUP=stable
matrix:
- COMPOSER_FLAGS="--prefer-lowest"
- COMPOSER_FLAGS=""
cache:
directories:
- $HOME/.composer/cache
install:
- if [[ $SETUP = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; fi
- if [[ $SETUP = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest; fi
before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
notifications:
email: false
slack:
rooms:
- secure: ebwcstTRuDbHcUUOMiRmcD7pVL59I0tot56xftQIkYNKuBdPWUIsNLOwiA0V/a5VXKz11FhmEPu6/HrvQtyr0M+nwx7Or3vYwtsA3BIARKCb/tafJGpTUNJPVLRLi2BG/UeAINTKyefO7D56nSP4ZW0m8HC6F9FU79gaHXW5bE74nBoiPbTtEqQEsPI4dhroq9gLyw/2OhoOUio3WDqYdWRMEZ+utsdR3w+fNMgq27XbpOPcu11U3qxIazuEWewTe0bN3p4wF6sNvYJDhb23BSX4l6WEVgsq2Dz/xEWvCjYuqhY5gYRMzTxz0ksvQK2xrm4gpR1uThW6yaCVQJWYMStx597jb8hDLotnn79ciaP1AKHO7LnpUkA+naX8bhQSCyeSbUI+Vd2oGvemnv4qE5ES+n6PzjghnpDRUHijmP1daZmjLjTvn29/J6UIZ3B1Ag/LH5f8b3HuCgN0aahHQWNqM5QRZfdyfDA/MFYhusTUdtMUQrIxxyvAo2v4Axdm2mgjE9ePOZCQ8Pkvn+d4qlLu4fqQ7uX9epSn7XLOpGKVjCUB3MzHkVRtOJRI25WVtA0uZorx8d3wy6O374vW4eQK7NC0O3EDhc20eLvjaa2oW0xC57bLW+nNdAxp3kQzfyARoEZVzIuVppWl6ChjsIzua5xyVfkdQTVzrXxLoaw="