diff options
| author | hathach <[email protected]> | 2019-07-08 18:03:48 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-07-08 18:03:48 +0700 |
| commit | ae930dce83f8d857db128f0fc6b643510f81b752 (patch) | |
| tree | ce0d333babb733fa4cd20efe7677cfeff8fd6625 | |
| parent | 8c990194dfbc710da58326982de541a03666b526 (diff) | |
more travis
| -rw-r--r-- | .travis.yml | 2 | ||||
| -rw-r--r-- | tools/build_success.sh | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 83b1a59e1..6fc78f25f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,4 +27,4 @@ script: 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" + - source tools/build_sucess.sh 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 |
