Skip to content

Commit 04b0ffc

Browse files
committed
Added CLI flag and documentation tests to travis config.
1 parent e7ff5a0 commit 04b0ffc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@ before_install:
88
- if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
99
after_success:
1010
- npm run coverage
11+
- npm run test:flags
12+
- npm run test:docs
1113
- bash <(curl -s https://codecov.io/bash)
1214
sudo: false

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"mocha": "^3.4.2"
2929
},
3030
"scripts": {
31-
"test": "npm run lint && mocha test/specs/ && npm run test:flags && npm run test:docs",
31+
"test": "npm run lint && mocha test/specs/",
3232
"test:flags": "node bin/doxdox 'lib/**/*.js' --description Description --title Title --package test/fixtures/ --ignore 'lib/**/*.js' | diff test/fixtures/flags.md -",
3333
"test:docs": "node bin/doxdox 'lib/**/*.js' -p package.json -l markdown | diff DOCUMENTATION.md -",
3434
"lint": "eslint .",

0 commit comments

Comments
 (0)