From e6e1d06911749db969a8871fcd55cccc201278ad Mon Sep 17 00:00:00 2001 From: Vytor Calixto <vytorcalixto@gmail.com> Date: Thu, 29 Sep 2016 10:16:42 -0300 Subject: [PATCH] Fixed error in gulp task test Closes: simcaq/SCRUM#68 --- .gitlab-ci.yml | 1 + gulpfile.babel.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b3949c4f..f76c7b37 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,7 @@ before_script: run_tests: stage: test script: + - gulp build - gulp test tags: - node diff --git a/gulpfile.babel.js b/gulpfile.babel.js index beb0e25f..9f3ea07e 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -58,7 +58,7 @@ gulp.task('doc', (cb) => { .pipe(jsdoc(config, cb)); }); -gulp.task('test', ['build'], () => { +gulp.task('test', () => { process.chdir('build'); gulp.src('test/test.js', {read: false}) .pipe(mocha()) -- GitLab