Skip to content

Commit

Permalink
Merge pull request #375 from octalmage/prebuild-travis
Browse files Browse the repository at this point in the history
Deploy scripts.
  • Loading branch information
octalmage authored Feb 26, 2018
2 parents 15cb9a3 + 9c26d95 commit 620be47
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ install:
script:
- npm test

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

notifications:
webhooks:
urls:
Expand Down
38 changes: 35 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"name": "robotjs",
"version": "0.4.7",
"version": "0.4.8",
"description": "Node.js Desktop Automation.",
"main": "index.js",
"typings": "index.d.ts",
"scripts": {
"test": "run-script-os",
"test:darwin:linux": "jasmine 'test/**/*.js'",
"test:win32": "jasmine test/**/*.js",
"install": "prebuild-install || node-gyp rebuild"
"install": "prebuild-install || node-gyp rebuild",
"deploy": "prebuild --all -u"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -44,7 +45,7 @@
},
"devDependencies": {
"jasmine": "^2.99.0",
"prebuild": "v6.1.0",
"prebuild": "^7.4.0",
"run-script-os": "^1.0.3",
"targetpractice": "0.0.7"
}
Expand Down

0 comments on commit 620be47

Please sign in to comment.