summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
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