Skip to content

Commit 95dd356

Browse files
committed
npm testing option
1 parent 9b3ab84 commit 95dd356

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ jobs:
151151
branches:
152152
only:
153153
- deploy
154-
script: hapi-server test
154+
script: hapi-server-test
155155

156156
notifications:
157157
email:

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"url": "https://github.com/hapi-server/server-nodejs.git"
1717
},
1818
"bin": {
19-
"hapi-server": "./server.js"
19+
"hapi-server": "./server.js",
20+
"hapi-server-test": "./test/server-test.js"
2021
},
2122
"dependencies": {
2223
"chalk": "^2.4.1",

0 commit comments

Comments
 (0)