Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Commit

Permalink
Merge pull request #3766 from ethereum/artifact-uploads
Browse files Browse the repository at this point in the history
Refactoring upload-queue task; Prettier code style changes
  • Loading branch information
evertonfraga committed Mar 21, 2018
2 parents c39d233 + d50cf3e commit f8ea87c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -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:
Expand Down
9 changes: 1 addition & 8 deletions gulpfile.js
Expand Up @@ -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 = [
Expand Down

0 comments on commit f8ea87c

Please sign in to comment.