Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit 10f017d

Browse files
author
Simon Hofmann
committed
Updated build configs
1 parent c00a7c7 commit 10f017d

File tree

4 files changed

+1794
-7
lines changed

4 files changed

+1794
-7
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ script:
4343
- npm run $BUILD_TASK $TAG
4444

4545
after_success:
46+
- if [[ $TRAVIS_TAG != "" ]]; then npm run prebuild -- -u $GITHUB_TOKEN; fi
47+
- if [[ $TRAVIS_TAG != "" ]]; then npm run prebuild -- -u -r electron $GITHUB_TOKEN; fi
48+
- if [[ $TRAVIS_TAG != "" ]]; then npm run prebuild -- -u -r node-webkit $GITHUB_TOKEN; fi
4649
- if [ $BUILD_TASK = 'cover' ]; then
4750
npm install;
4851
npm run codecov -- -t $CODECOV_TOKEN;

appveyor.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,9 @@ test_script:
5555
- cmd: cd c:\projects\opencv4nodejs\test
5656
- npm install
5757
- npm run test-appveyor
58-
- npm run test-externalMemTracking
58+
- npm run test-externalMemTracking
59+
60+
on_success:
61+
- IF defined APPVEYOR_REPO_TAG_NAME npm run prebuild -- -u %GITHUB_TOKEN%
62+
- IF defined APPVEYOR_REPO_TAG_NAME npm run prebuild -- -r electron -u %GITHUB_TOKEN%
63+
- IF defined APPVEYOR_REPO_TAG_NAME npm run prebuild -- -r node-webkit -u %GITHUB_TOKEN%

0 commit comments

Comments
 (0)