summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-07-08 18:03:48 +0700
committerhathach <[email protected]>2019-07-08 18:03:48 +0700
commitae930dce83f8d857db128f0fc6b643510f81b752 (patch)
treece0d333babb733fa4cd20efe7677cfeff8fd6625 /tools
parent8c990194dfbc710da58326982de541a03666b526 (diff)
more travis
Diffstat (limited to 'tools')
-rw-r--r--tools/build_success.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/build_success.sh b/tools/build_success.sh
new file mode 100644
index 000000000..df725bdce
--- /dev/null
+++ b/tools/build_success.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+# Trigger mynewt-tinyusb-example repo each push
+curl -s -X POST \
+ -H "Content-Type: application/json" \
+ -H "Accept: application/json" \
+ -H "Travis-API-Version: 3" \
+ -H "Authorization: token $TRAVIS_TOKEN" \
+ -d '{ "request": { "branch":"master" }}' \
+ https://api.travis-ci.com/repo/hathach%2Fmynewt-tinyusb-example/requests \ No newline at end of file