-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (32 loc) · 1.03 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
dist: focal
cache:
directories:
- $HOME/.composer/cache/files
language: php
php:
- 7.4
env:
global:
# - APP_HOST="iubar.it"
before_script:
- cat /etc/os-release
- php -v
script:
- composer install --no-progress --no-interaction
- vendor/bin/parallel-lint --exclude vendor .
- vendor/bin/phpstan -V
- vendor/bin/phpstan analyse --no-interaction --no-progress
- phpunit
- vendor/bin/var-dump-check --exclude vendor . || true
- vendor/bin/psalm --version
- vendor/bin/psalm || true
# - vendor/bin/psalm --long-progress || true
- vendor/bin/psalm --taint-analysis || true # https://psalm.dev/docs/security_analysis/
- vendor/bin/psalm --set-baseline=psalm-baseline.xml || true # https://psalm.dev/docs/running_psalm/dealing_with_code_issues/#using-a-baseline-file
# - vendor/bin/psalm --shepherd || true
notifications:
email:
recipients:
- ${EMAIL_BORGO}
on_success: change # options: [always|never|change] default: changes
on_failure: always # options: [always|never|change] default: always