Skip to content

Commit

Permalink
fix: revert travis changes for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Tanay committed Oct 31, 2018
1 parent 843eeb2 commit 2e04f32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ script:
# Compiles libuiohook
- npm run build
# Builds iohook and optionnaly upload prebuilt binaries to Github
- 'if ["$TRAVIS_BRANCH" == "master" ]; then UPLOAD_BINARIES=1 npm run deploy; else npm run deploy; fi'
- npm run deploy
8 changes: 3 additions & 5 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,9 @@ targets.forEach(parts => {
})
});

if (process.env.UPLOAD_BINARIES) {
chain = chain.then(function () {
return uploadFiles(files)
});
}
chain = chain.then(function () {
return uploadFiles(files)
});

function build(runtime, version) {
return new Promise(function (resolve, reject) {
Expand Down

0 comments on commit 2e04f32

Please sign in to comment.