ci tasks, code coverage zipping

This commit is contained in:
Kyle Spearrin 2017-11-22 14:42:44 -05:00
parent 2d81466d25
commit 3f8ede39e6
1 changed files with 9 additions and 0 deletions

View File

@ -14,6 +14,7 @@ const gulp = require('gulp'),
const paths = {
build: './build/',
dist: './dist/',
coverage: './coverage/',
libDir: './src/lib/',
npmDir: './node_modules/',
popupDir: './src/popup/',
@ -134,6 +135,14 @@ gulp.task('webfonts', () => {
.pipe(gulp.dest(paths.cssDir));
});
gulp.task('ci', ['ci:coverage']);
gulp.task('ci:coverage', (cb) => {
return gulp.src(paths.coverage + '**/*')
.pipe(zip('coverage.zip'))
.pipe(gulp.dest(paths.coverage));
});
// LEGACY CODE!
gulp.task('lint', () => {