summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml4
-rw-r--r--composer.json4
2 files changed, 5 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 3557c02..f61b461 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,5 +4,7 @@ php:
- 5.4
- 5.6
- 7.0
+ - 7.1
- hhvm
-script: "phpunit --colors --coverage-text"
+install: "composer install"
+script: "composer run-script test -- --colors --coverage-text"
diff --git a/composer.json b/composer.json
index 22009a9..43ff219 100644
--- a/composer.json
+++ b/composer.json
@@ -29,10 +29,10 @@
}
],
"scripts": {
- "test": "vendor/bin/phpunit"
+ "test": "phpunit"
},
"require-dev": {
- "phpunit/phpunit": "^5.6"
+ "phpunit/phpunit": "^4.8"
},
"license": [
"BSD-2-Clause",