const gulp = require('gulp');

const spawn = require('child_process').spawn;


gulp.task('coverage:test', gulp.series('build:webpack:production', () => {
  return spawn(
    'pipenv',
    ['run', 'coverage', 'run', '--source=conf,core,api', 'manage.py', 'test'],
    {stdio: 'inherit'}
  );
}));


gulp.task('coverage:report', () => {
  return spawn(
    'pipenv',
    ['run', 'coverage', 'report', '-m'],
    {stdio: 'inherit'}
  );
});


gulp.task('coverage', gulp.series('lint', 'coverage:test', 'coverage:report'));

@@ -456,64 +456,321 @@
 rage
-', gulp.series('lint', 'coverage:test', 'coverage:report
+:coveralls', () =%3E %7B%0A  return spawn(%0A    'pipenv',%0A    %5B'run', 'coveralls'%5D,%0A    %7Bstdio: 'inherit'%7D%0A  );%0A%7D);%0A%0A%0Agulp.task('coverage:development', gulp.series('lint', 'coverage:test', 'coverage:report'));%0A%0A%0Agulp.task('coverage:production', gulp.series('lint', 'coverage:test', 'coverage:report', 'coverage:coveralls
 '));

Add separate development and production coverage tasks