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 2
/
.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: lbA9MW/jIIt+Iltxz4P05czxo0YPUPo9AavETbnrpjA3O01PUPeP04QjrfynELDD+ghdfXdQc/EciIi20mFYLlsPLx6Xh84cXItRScmFcLFArl5vxICYFnrnCjQXnT42Im4z2QlcXKNzOA4VzANx6Pm7z8F0+CdGiw8KdLV7aOpe+6Cseija5m3RQuAf9AxUqg6FJgi25JSJWTmy9t+MAYMZmV++l71c+0o7JRNbCwns8cEgKc4rrNzvKD4HZQGrJlTVsUE75AQQW5rt15rulXYkDLaGjmEU+W1pe2cBHk6mPxTdmg8LSpTGJ7J7zZWC4IlMADbW+pJVZHHdOtqfyHwYZc4UiofA62+ezguTxPbAec0rSLuNTGVMczVh/SQQCJE9xYOAfflHQjprNPgMk+hVADQXcvxEVJoghuPj5oX0BwqxGpEYHjRJTNaSAOy55fWePCCJegAeuKeYlS7IFXYmUjjintSkFWEVXMWWjA1xCVzJxlrW6qefiy7XahDCxOSAa2e+OO9774l5OXn0r4LuuJInByPX0MiIlUlS6OXrIlioj8QOG3gpt/byDWc12J5Vx8bUVTYU+/HLr+olUDlC6Ur/hoAE5SDfgK8/yy80x0WxsbcCJ97jtKbVQTOas6Y+3YJhdPHNP6ii3iOu4ZcuuZiltQ2ZuwNv3CQrx1A=