-
Notifications
You must be signed in to change notification settings - Fork 15
/
.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: AadDrMDBSsr1h/S+WvGySPEHyNvSeISDzqsX/G7BIG2ssV3S4mjAXnBzlhtaCK4nfoSplr3sOIZvAGtaFHKoWNJyjyvvxYWUob/j74HSQ+2JiAc/ToxSUrnREBk6wuEO0T/orAPvOtzmcWCGpUp54azSL2L35zajO0RrIWxKigxFBzYT/Jivh+a7vcvjkCeQOKEQD+6AFJKNIANAlHlLysIrIpZQH19B8fwxtkqe+xZbWYBsI7aooRwsdjOG+1VNfE/fM+mU/GEx8FplIypOXWCaF6TTy65FMdqIOGJ9P37h61u9Dfv8XE/2KBHOo7yln++kO7+/MRIzxxVumKtRELMXn/qHRcrCR5CcUwJNz/RtznQcNnC/PfBXUxCmyUkPvGJZYwC+BqSjSmyxgV+7CJNWZvZHslltM7jkGgqDTrdqNKHgFtEQ6WrzyKe8a1LnXXqdTmqzmZoIEWjYZgFJbdL4BTboYJK7Liqh2oKbNzt/8z1W9woPEWvqP3Chsg/+1+nyZbs+OtHR+TOYESkN+tx6JcaFjRLMIKKV/66JNmwJycz76nZpoKbMECy0RjGqTwm83tzPys7Nz+Tp+J3Z+rxQoXrMTS+mJbxKW/fdxg+d9wwiTd72P13xjSPlDjdZqcb1sl5Lw9soadKy+DG4RyKPcjO7TmyfS/HwXyIgqtc=