-
Notifications
You must be signed in to change notification settings - Fork 25
/
.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: wtC0uwKlSAMDdQcrm0wFHdAiTycBYg9waq1WTmYZiwYf+1XrnCwWGTcYGoj3T8DUDASjKJx8ooI+UAeHS2b3nZ8q/ALojwoIiHNN2unh8ddWCKGI/Grn3+dh0AkrimswDty566+iIWAXlXouiyIFYEzLNYuXdWDYIb1csvVgmDsyu5Qg4cmlZQsBuWRfCmpnWJBKOneypIfFE7nZJCJf/vPMwiDdzR3gN+H/c/5BbbfU/2QiUtr8zJDWkZG7//BCwD1Qtgaj+5TCrc4EU/btkAylV7q+rGlD1Nsf/OvFktCaCxOdjwlalcHNVVlqz0aaVGoS80xKjd7Vk7Vf5XRUWqqCwtDYmfQntoX6zUNNw57KGb95VOtUEm/Z+QFzT3B/FipYcIRcpK/JcfSEAejqV0++CYNqsLNSs+BYhFLggO2kQG8qeiuf1N0sFJWcX7SeJYqkQjKxsXegfrcnHVMQAJqy28gR/SKQvZdO/RpnJoVrk4MIrzdkPPgLXooAM5CYsgJGfRGR1YykMGrv/dCVENnz2qxz1VSFlHknMDkDHAMTZCT0rDjf7QxmpA/SKZny8KVa9zDqMMBXkOTuHlZnB1UnkG8rJGvOfBxNGHi/RoKEdxllOzPETMHvHVuboD2N6GYVBQlf6Jm8itqPI9EMUVBRsDiTsraWTSxYrd+LIH4=