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
/
Copy path.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: A7Iu7BXZAoPG98oDGShEHGHAK8Swx9AtNVWLE7vP9NNZApvOFKwBLEnc6KW9qG7a3wlyJoSVeYlxb8Z6TJ7/4Az/JTXqwe9+Qre9SCKzS5gqPfHIUkSMvsFoijXY+QMc5UQ5of2mt0BsbxdPf0waT5I1qKYNibpAnW/WEFKmRGLKUy+5C53iTnxl9okOqKb4kyhv30vzbQtphi9w3mcB4JaRnfh6R2PyV8WnnAYx29RlUNRrFRe//aILYlWScNE+d1h1lklzdmggy66bHBiGQK+/qK4L11sSLhM7WA1Stg2DBJMQXG/8+3wdPHoBrhw5vlNSnDPrGGIiACgeldjbirKSJ9hGkEXh7wjqTDkPWtCwPWgHqEeOXT3GRd9L8jiErr5ekHkiUH0UUP/M94F87uPwtMfNXpRXad3WdSo4HLpo5r6pdkL3yvPMVKbSJhZHFbtlWQulINx5N5N8md3y1QJahbZDOXDEUYkFOKfqQd7Igzthy9qTja1wH/hcTYdlObP792NpExNgwVBQiwpOcOFmTcZjCKOcv2K/6oO2geh5KSuLIL3AttNZuGtafvfR/bNSQGDqMSXByO5qQYlUnWYT/5QN3PrWqjwFsduimGzytlQqLy6j+JGPP/ltm2P8dJDJGSb1ADIuc8deZPZeTujRwg4jE+ZLPLQNXgFGw+k=