Skip to content

Commit

Permalink
Use gulp for build testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Schick committed May 31, 2015
1 parent 2e10e65 commit e112bbc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ node_js:
- "0.10"
- "iojs"
- "iojs-v1.0.4"
after_script: './node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage+'
after_script: 'cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage+'
before_script:
- npm install -g gulp
2 changes: 2 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,5 @@ gulp.task('validate', function(cb) {
'!coverage/**/'
]);
});

gulp.task('default', ['validate']);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Sophisticated argument parser that can handle advanced command line structures and validation",
"main": "index.js",
"scripts": {
"test": "mocha"
"test": "gulp"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit e112bbc

Please sign in to comment.