Skip to content

Commit

Permalink
Change to prebuild command.
Browse files Browse the repository at this point in the history
  • Loading branch information
octalmage committed Feb 26, 2018
1 parent 02a7f94 commit 895db63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ script:

after_success:
- if [ $TRAVIS_BRANCH == "master" ]; then echo upload=$GITHUB_TOKEN > ~/.prebuildrc; fi
- if [ $TRAVIS_BRANCH == "master" ]; then cat ~/.prebuildrc; fi
- if [ $TRAVIS_BRANCH == "master" ]; then npm run deploy; fi
- if [ $TRAVIS_BRANCH == "master" ]; then npm run prebuild; fi

notifications:
webhooks:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test:darwin:linux": "jasmine 'test/**/*.js'",
"test:win32": "jasmine test/**/*.js",
"install": "prebuild-install || node-gyp rebuild",
"deploy": "prebuild --all -u"
"prebuild": "prebuild --all"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 895db63

Please sign in to comment.