-
Notifications
You must be signed in to change notification settings - Fork 8
/
.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: eMEBizoMuMwv/0n08lB41HdWjo/L7zI5ldlLr2UswrOYHWF6hvhLQTM1sYIci6zgYPDh9rJybsfIpzpiJL5CytBIa9nhtluDBFr6SBRTOxHowDQaByQRlfn5YOgPNmOjMb1hQipqSxy21RdSFbMM6JfDLAwW8txtHVNzhVmeTde/LSzMKs7jMVuyxfVNrwjXWyJiLFavpF1PwMrt32gUsfUGzillyCkUkuY1eTC2SvBdIELe9PPnxr36Y84ubmpBcfy/sfTsuce7o1M6k61vs2EmNrxUUOWh0TkFGGupJt+QMvQqm4dTtwO2M37U2axdnbC3w+Nup0yLT7PHo2GlV0ddX/dHzY46pxdRhkkhs9W29HCjE5U7hwW2l+kfigwVMfCPcNvlhWJT7QJ5H1q09esteJ7p6eKO5mCXbXwxirnOhw83O6VDJAbRxEmahlv31UQCPmPg+CtnyJufQ2FoSvAIZFOmBlfh2q2JiasEjlUEM5TV+g45v3nSW1MqovGwjXuVqXN0jv2s0dSSyZiGNeLwO130fxZ7C1uZ5nhRjH7HamkZ13qvAtChsDh8YywqqeZVFwVT0kVC+CLpOJ+Jn+fDXOD20/+rDA1h9HW+HbRJSTpzb7ua3FivKx9xXMa+9sVhkSbWbGuO70iKipNdg9XUv77qRY234E2tjrugG/Y=