Skip to content

Commit 4915a35

Browse files
committed
Support AppVeyor
1 parent 3df85d1 commit 4915a35

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

scripts/trigger_travis_build.sh

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
body='{
1+
travis_body='{
22
"request": {
33
"message": "Test prebuilt binaries",
44
"branch": "prebuilt-testing"
@@ -9,5 +9,18 @@ curl -s -X POST \
99
-H "Accept: application/json" \
1010
-H "Travis-API-Version: 3" \
1111
-H "Authorization: token $TRAVIS_TOKEN" \
12-
-d "$body" \
12+
-d "$travis_body" \
1313
https://api.travis-ci.org/repo/zeromq%2Fzeromq.js/requests
14+
15+
appveyor_body='{
16+
"accountName": "zeromq",
17+
"projectSlug": "zeromq-js",
18+
"branch": "prebuilt-testing",
19+
}'
20+
21+
curl -s -X POST \
22+
-H "Content-Type: application/json" \
23+
-H "Accept: application/json" \
24+
-H "Authorization: Bearer $APPVEYOR_TOKEN" \
25+
-d "$appveyor_body" \
26+
https://ci.appveyor.com/api/builds

0 commit comments

Comments
 (0)