This repository has been archived by the owner on Feb 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
/
.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:
- 7.4
- 8.0
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: zHryAtmxuxL2sysM/mgzE11fwOjPKLWL7UzpAHy4aAtki7XKB18OOwESeGUMFGAsXW7QpCGZlUT3cjDT0cJZHDSJxK30QvZLzcuxnuhpyUur6gXBgs3KDfo2craC6bapMG1nzxYgEnMcLsqiJ/Px0P4ktQK7envSnyXHaj9SsEkJJOPhUN59i/LbmHVjU5we77egZtGD8nBp7jsFaAJOIi4xBiT44YQmVvs9S1cvCf9iTU6BkEzEAf46R+ICE+oOj54HyNycRjZBh16lTgfA21wgcg2YMi5h0Sinp0l4w6nxPPyzzpDVldyPDr4zDGon/RnCZOUtcl+UDxX/TmRprrB2EFgojoiPITGd2pNtg9aj00qq61AMoseK35rNs8aIz76xJ+NqcTqu2lbLENY7IIfqPoI4lcbxmHXbWfzyq614b9unQGQM5KttF3Hdyw+8R41/oeyp/kfdlBYtAmePA9PwtrECUSEKXa8ad66bJbsC18rwei6fWeZNTMqJcSrXUIud4GbsOb9ykaXAjjAMcmIE4BlOaC/2VKZlMDOGlyvAJHuFYKdEDmLhi8OaGspnAsNdk/RDNFP4ZoQY2sQeyIHyLTKZAugHLQyFxJE0Yq0ulBCSnGPNBwvBZBi9teI2jCFyysuFcQ4J6nBX7NH2jlX5jTrDcHm3AkEFFr2RM3A=