Skip to content

Commit

Permalink
Fixed tests (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored and egulias committed Dec 30, 2019
1 parent a625560 commit 834593d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 34 deletions.
43 changes: 19 additions & 24 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,32 @@
sudo: false

dist: trusty

language: php

php:
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4snapshot

env:
global:
- deps=no

matrix:
fast_finish: true
include:
- php: 5.5
- php: 5.5.9
dist: trusty
env: deps=low
- php: 5.5
dist: trusty
- php: 5.6
env: deps=high
dist: xenial
- php: 7.0
dist: xenial
- php: 7.1
dist: bionic
- php: 7.2
dist: bionic
- php: 7.3
dist: bionic
- php: 7.4
dist: bionic

install:
- if [ "$deps" = "no" ]; then composer install; fi
- if [ "$deps" = "low" ]; then composer update --prefer-lowest; fi
- if [ "$deps" = "high" ]; then composer update; fi
- if [ "$deps" = "low" ]; then composer update --prefer-lowest; else composer install; fi

script:
before_script:
- mkdir -p build/logs

script:
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
Expand Down
11 changes: 5 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@
"url": "https://github.com/dominicsayers/isemail"
}
],
"require": {
"php": ">= 5.5",
"require": {
"php": ">=5.5",
"doctrine/lexer": "^1.0.1"
},
"require-dev" : {
"require-dev": {
"satooshi/php-coveralls": "^1.0.1",
"phpunit/phpunit": "^4.8.35||^5.7||^6.0",
"symfony/phpunit-bridge": "^4.4@dev",
"dominicsayers/isemail": "dev-master"
"phpunit/phpunit": "^4.8.36|^7.5.15",
"dominicsayers/isemail": "^3.0.7"
},
"suggest": {
"ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation"
Expand Down
4 changes: 0 additions & 4 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,4 @@
<directory>./EmailValidator/</directory>
</whitelist>
</filter>

<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
</phpunit>

0 comments on commit 834593d

Please sign in to comment.