1
0
mirror of https://github.com/danog/dns.git synced 2024-11-30 04:29:06 +01:00

Update travis

This commit is contained in:
Daniel Lowrey 2014-09-24 10:28:48 -04:00
parent 205ecec4fc
commit 3f60ac9cc0
3 changed files with 15 additions and 4 deletions

View File

@ -6,10 +6,8 @@ git:
php:
- 5.6
- 5.5
- 5.4
before_script:
- composer install
script: php ./vendor/bin/phpunit --configuration test/phpunit.xml --coverage-text
script: php ./vendor/bin/phpunit --configuration ./phpunit.xml --coverage-text

View File

@ -56,3 +56,15 @@ Amp\run(function() {
Amp\stop();
});
```
## Tests
[![Build Status](https://travis-ci.org/amphp/dns.svg?branch=master)](https://travis-ci.org/amphp/dns)
Tests can be run from the command line using:
`php vendor/bin/phpunit -c phpunit.xml`
or to exlude tests that require a working internet connection:
`php vendor/bin/phpunit -c phpunit.xml --exclude-group internet`

View File

@ -29,7 +29,8 @@
"require-dev": {
"mockery/mockery": ">=0.9.1",
"rdlowrey/auryn": ">=0.13.0",
"predis/predis": "~0.8.6"
"predis/predis": "~0.8.6",
"phpunit/phpunit": "~4.1.0"
},
"autoload": {
"psr-4": {