Skip to content

Commit

Permalink
Added CLI flag and documentation tests to travis config.
Browse files Browse the repository at this point in the history
  • Loading branch information
neogeek committed May 30, 2017
1 parent e7ff5a0 commit 04b0ffc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -8,5 +8,7 @@ before_install:
- if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
after_success:
- npm run coverage
- npm run test:flags
- npm run test:docs
- bash <(curl -s https://codecov.io/bash)
sudo: false
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -28,7 +28,7 @@
"mocha": "^3.4.2"
},
"scripts": {
"test": "npm run lint && mocha test/specs/ && npm run test:flags && npm run test:docs",
"test": "npm run lint && mocha test/specs/",
"test:flags": "node bin/doxdox 'lib/**/*.js' --description Description --title Title --package test/fixtures/ --ignore 'lib/**/*.js' | diff test/fixtures/flags.md -",
"test:docs": "node bin/doxdox 'lib/**/*.js' -p package.json -l markdown | diff DOCUMENTATION.md -",
"lint": "eslint .",
Expand Down

0 comments on commit 04b0ffc

Please sign in to comment.