summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-07-08 16:58:06 +0700
committerhathach <[email protected]>2019-07-08 16:58:29 +0700
commitcbd65f489421643aed443f8dcd14e59da96ba299 (patch)
tree951549f12b2bc054f975ccecfa87808a181a6671
parent216ccc6e93fe294e80bb17bfb873bfb00f5ac038 (diff)
test trigger mynewt example repo
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 327a8f946..8480c1242 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,6 +11,7 @@ addons:
- python3
- ruby
- gcc-arm-embedded
+ - curl
install:
- gem install ceedling
@@ -24,3 +25,7 @@ script:
# Run unit tests
- cd test
- ceedling test:all
+
+after_success:
+ # 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