build_success.sh 361 B

12345678910
  1. #!/usr/bin/env bash
  2. # Trigger mynewt-tinyusb-example repo each push
  3. curl -s -X POST \
  4. -H "Content-Type: application/json" \
  5. -H "Accept: application/json" \
  6. -H "Travis-API-Version: 3" \
  7. -H "Authorization: token $TRAVIS_TOKEN" \
  8. -d '{ "request": { "branch":"master" }}' \
  9. https://api.travis-ci.com/repo/hathach%2Fmynewt-tinyusb-example/requests