From cbd65f489421643aed443f8dcd14e59da96ba299 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 8 Jul 2019 16:58:06 +0700 Subject: [PATCH] test trigger mynewt example repo --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 327a8f94..8480c124 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