-
Notifications
You must be signed in to change notification settings - Fork 211
/
.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: osPDfqDcS0cAX3dRaTWNRxWu871Cm2ie+jau6FmYFqv5SjywqNxyifBAyzheFVqupvvSrlQJRGG+JTWh54CVDQm4LRQpwm/9Q4HtRvcWUlw6ik+g+TQW9yQWimXWJRMnNPIDhXraVwKOw5Ccw7MHSndOvYFvj1hrYjGnxMTGclwubH89mAqlOUfH/sn9szz54zpVD2Fu/NQZE8zsU75TrfFMZ+AvamvfowAKt4NJQFx0Kpp6adEVp0aPE6USHnUwlT6EcTXru8YOPY6WrK5CR7ccZ3BQIz6zNQ4VM92XW0rWBNGHVnSZszA262BXwpyg6pnymlkDioj72YceCtUQy4hQGqj3bU2WAyEaBbmWQnFS6qBdHS2HqyfenKJ3gzuhFR+FAfQksFoCzGQMCKM4sMDSHgOZBco2bg2hZmdzHzNO+gLD9Rca2FrmWzNvURuTExvpPVrDT7hqvcroD4FNgV26U3sfmwxLcbd+0mOMeRgl8+t+sF2PwMHUdvZBfzBnmbeMHzEvs65+1AiDNLQ587jlgqbRJGL0M3bULOAz5bEcP9pGoZVQ5RFFzY/yJk29JUJeJBOxZlapJCbtK/r58Q0EAOJH9yQS6IXA3vTN613TmDAUh7eZ2MzDdYq+DxyGmObAyJbb7arXcb89IFer0GAanKzMzSoZxRGp/eABrHI=