summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Holywell <[email protected]>2017-03-21 10:58:24 +1000
committerSimon Holywell <[email protected]>2017-03-21 11:23:18 +1000
commit3fdc455c65b26d76453ed1f716b58d9665bba5c3 (patch)
tree94714f974d0af9bf8189ac861dea2cf646a3590a
parent5fe742ecdd1ed74b0ca00043dbb6e56d6c87e73d (diff)
change travis-ci run scripts
-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",