mirror of
https://github.com/egulias/EmailValidator.git
synced 2026-09-19 14:36:55 +00:00
a5ed8d58ed
* Update dependencies * dns_get_record wrapper for testing of the function's behaviour * remove unused classes * Fix Psalm errors * Increase PHP Version
33 lines
679 B
YAML
33 lines
679 B
YAML
language: php
|
|
|
|
matrix:
|
|
include:
|
|
- php: 7.4
|
|
dist: bionic
|
|
env:
|
|
- psalm=yes
|
|
- php: 8.0
|
|
env:
|
|
- psalm=yes
|
|
dist: bionic
|
|
#ppc64le support code
|
|
- php: 7.4
|
|
arch: ppc64le
|
|
env:
|
|
- psalm=yes
|
|
dist: bionic
|
|
|
|
install:
|
|
- if [ "$deps" = "low" ]; then composer update --prefer-lowest; else composer install; fi
|
|
- if [ "$psalm" = "yes" ]; then composer require --dev vimeo/psalm; fi
|
|
|
|
before_script:
|
|
- mkdir -p build/logs
|
|
|
|
script:
|
|
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml --exclude-group flaky
|
|
- if [ "$psalm" = "yes" ]; then vendor/bin/psalm; fi
|
|
|
|
after_script:
|
|
- php vendor/bin/coveralls
|