Add test task to run all tests

This commit is contained in:
Matthew Ross 2016-04-21 18:56:22 -04:00
parent 51b5e12de1
commit 69a891eb6e
2 changed files with 3 additions and 2 deletions

View File

@ -9,5 +9,4 @@ before_script:
- npm i -g gulp
- npm i
script:
- gulp test-api
- gulp test-app
- gulp test

View File

@ -122,6 +122,8 @@ gulp.task('api', () => {
.pipe(gulp.dest('dist/api/'));
});
gulp.task('test', ['test-app', 'test-api']);
gulp.task('test-app', ['tsc', 'vendor'], () => {
return gulp.src(paths.tests_app)
.pipe(mocha());