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: gqRPJKObqrdVj8KgC8r7EyNSVZ3JHwK+PzqQXN8T3xXHLDDiUwenh2ETh52IWA2dqnmWR44RckPiLZYy05hOlt9HLXc21B0FrPa93Uj4MISdGcSajki7uR59SFvV+CVjIL7t8NZDHsT2SOtBTiFP5N6zhVgieFJMTqXv23zI4i5iJelGvHrBQHVEUHxsPWYwBEqzeGIKZ3FB7UT3Oj0NAxieROlJdVIj9jCjtJwS+uluJwSGELHsqHWFrrx32naaU7vqEBvVSG4U6wAVzcCJdEu99H/S+e2dEUOO9vHWj/mOJKgNXZG4Wr95xGTtWK1OpWilh+H3CSp8KPdZG40DMED1n8n8lfkkWxpiLG+i1pz0dgPJk4Bn3KVfEd4iezyylOOcxuqOZZxKTqDr0yy1QEDmXJgU/T4L2bDAhYhtgZ2C8IqXFa8Tnkm0Ndiicv5El6UMOtym/ogfiqtUzackUkkZIFgE3OSOekgGxlrk/5HjgvgSxBZkD4O0Nv5mnvnicpDt9BS3DpxSofN3PUsSYxkdfjI8aRCOId2AVblHJXFSwuRIABN2aWIMO6EGLEopFt9Iz8vWL8IM/fltf3rIEtO1ens1wvh150IVJJ+oAF39Pzeogy8CxfA9hpk8HIPPvyZ7hjfoz9ddqh6SGPTitrWU14bs7XelWFg8P3Wxe9A=