mirror of
https://github.com/danog/dns.git
synced 2024-11-30 04:29:06 +01:00
Update travis
This commit is contained in:
parent
205ecec4fc
commit
3f60ac9cc0
@ -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
|
||||
|
12
README.md
12
README.md
@ -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`
|
||||
|
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user