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 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.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: TmpxlLe34dhg7HJw6yqmdWR2B4CGUEiuiUzx3UJJG9l2hl+a9/x9NKw/UhaUCEe8hB6n9++eBJftjKw5MWfbkkPWft9dkhRDuCApP5ATTxhY2J0jo4Hr5aWR+5rl+1FZdLg5svPi1mioUsG0M+uTPkfBO897bk0MU53ewDpQfSt2baRRcWKncYXvoTesS604BRCrXOW68Js9+mgXG75hbefgldHxjL8vQNVgFdeMHw4fIBaRnET21qOcPBhgzCqg1kc4DFxSkbk0mLu9FvdZM0dMPrpE4JxneAZEP3kWIrzxv57APgTbMjzaCORjhAcQFtDp6/ZWBEtjoM1t8QnPFch6AEZ42otZpOXvKkvXDZ5UXcGWlY2VRItyoYtL74/l7n5mthlrvHw4scj7ukbUBFIlyRjyAEAt9cCYt+fmuDVc+TexRKd+LvJsDRa79O+vaVnvReaebVPrPgC4yhzT/DQD5f3MAfwvqCi5idI7i0v08TS/uPTojSl49PrAHkO/oUXI0qENt553i59yDazyR+3UDkgQa8dLNG5CoX//xyiYrAYz8PYFSJSZ2K+eVLjl816zA3woDrIpeotCc2o/kvVT/b+H6hQrQyjMYam8u0DxXBBzS4irxSmFzEbjt2QlaCw63jkqo6phC9omlrcZqD/RzyFxayl5R4PsZzUU3A8=