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 4
/
.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: MaVL71Sj6Y7+1K4U31izkshTvHoTwJRl8wR9PPJjwQd66ck+awxyByTPcWJWpzD9GLjSOx7GEHGTXlLBF8npna/Lv2xGIi1KOlQ0ucyGQU3c3C9lO8jqLAhwj2Nd7n88XtnWDtsY8sZgnGf5LqUkIFKIyEfwIts4BED3sTwgc3h65NdT+TSolYFlqLdCb961YdvmwU2Izhy23/+HN9HscV+Lj6KImSW9fsQ4c6zZxGydbqLqugvXxLlhjVIHeE6TTZtyCd1V8V9qFJDOmSncYZ+7L/plI3jALDztRBKP9CNFQuHAk9/XeTReSCTvKANug93QNoL2mIZEfJFC3NytQ40/irvxFkmRySXbVHI6FWR5Mi9vHdhg6XHrXosrOpvdSdrivcp4Tzis7/uOEyIrhbIfh3kG0KVXwV0GUKxvxkhSC9sBqFai+dp8PHv+O82+pFgKMS+5kKKoG/L+PJAF7Vzj7RLVPHwkNU7xkk4vwlcTue0PlNJhQInlQczayOd0M/ELyU5ezGNSFxN9PUsqmMClwFfPdwYEUBbfImbQJVR9+rj1irBdtLRTL8G3bNqLOH/Pi9RCYac5YxTTMUameYhJVlbPdU1zC1lROrj+ISIt+7/I2iH+FXi+P9FJCAi4Yy6OGJ8M4IMWe9KGX16BMVsRik4lEYd7mCeb5ui8ln0=