diff --git a/.travis.yml b/.travis.yml index cb09ae641..3636581eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -95,7 +95,7 @@ script: - if [[ $GULP_PLATFORM != "win" ]]; then gulp test; fi after_success: - - if [[ $TRAVIS_BRANCH == "master" ]]; then gulp uploadQueue --$GULP_PLATFORM && gulp uploadQueue --wallet --$GULP_PLATFORM; fi + - if [[ $TRAVIS_BRANCH == "master" ]]; then gulp upload-queue --$GULP_PLATFORM && gulp upload-queue --wallet --$GULP_PLATFORM; fi notifications: diff --git a/gulpfile.js b/gulpfile.js index c37652df2..0847767a9 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -66,14 +66,7 @@ exports.options = options; // import gulp tasks require('require-dir')('./gulpTasks'); -gulp.task('uploadQueue', cb => { - const tasks = []; - - tasks.push('checksums'); - tasks.push('upload-binaries'); - - runSeq.apply(null, _.flatten([tasks, cb])); -}); +gulp.task('upload-queue', gulp.series('checksums', 'upload-binaries')); const skipTasks = options.skipTasks.replace(/\s/g, '').split(','); const tasks = [