forked from rinvex/laravel-subscriptions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.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.0
- 8.1
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: frcn0u8PUc1SmXynHpTYuM9J/QfR0ngPfckfQtBznDuoQncHmP3YGelDWAHy9QnsmSDO4UnhS7/R2+Y6JE9Y+7NOBBJuJxhehAsCsHQnCVz3Rvu0JjGjy/KX6AMhg3V6kC0qGGExjLqPWevWC2yk2UYXui3DVmzXvxYfXJChhDK3zH55Ev50tfsdSgNtYXnSYPRP3ZC9MRhVr9+nOgnHZgXypItPzqdHJq+eS8IlKHJXGDUpzlb2Mpt8k8aWgHbazR66TWngchafxdLS54F/amkG4RbKV5ZmMf/SPtNedzlXJ+7+WDvCnwtqutBN7CAO5gdNVinmXaJkJ/6ulo3v5OLjbwg0Phg21HSJ0JQlRjT728IPoUGUYrS3+pKQbDXMS3ko4XBTo7GQqdtYODSfnzXo6RDYWkMhH5GERdCmMwSYdd7yQbesGXqmUpiiWipoiptz0h8FX1S+wNGu0XNg1deD4jfz7gmBDuSrZPi/NtYf79KYfAyCsQz7825vX3jkuP5BZazqJCMSnTiIcO/1iS/x5iRNp88OLmSgRWmG7eIHKieT9r+r+eydsmImEiR/dHXP4t/sovKHhNO27uTuymg4et5M7ZUtu6dVWhWoW1PBVOPEQWHxOIvY2NqBecSd1pfYCZ0XJAtuSIsJ9yZDNr0Bx6u7h8ft7RfKNBrcMMk=