Skip to content

Commit 9a6c3f2

Browse files
committed
default npm test does NOT run request validation tests, only travis will
1 parent 2987360 commit 9a6c3f2

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ node_js:
44
- iojs
55
- 0.12
66

7-
script: npm test
7+
script: npm run travis
88

99
before_install:
1010
- sudo apt-get update

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
"url": "https://github.com/Mashape/httpsnippet/issues"
2929
},
3030
"scripts": {
31-
"test": "standard && mocha --no-timeouts --reporter spec",
31+
"test": "standard && mocha --no-timeouts --reporter spec --fgrep 'Request Validation' --invert",
32+
"travis": "standard && mocha --no-timeouts --reporter spec",
3233
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha",
3334
"prepush": "npm test"
3435
},

0 commit comments

Comments
 (0)