Skip to content

Instantly share code, notes, and snippets.

@matejc
Created April 18, 2020 18:23
Show Gist options
  • Save matejc/bb6757dfc2e4938fcb3e25e34e5c20a2 to your computer and use it in GitHub Desktop.
Save matejc/bb6757dfc2e4938fcb3e25e34e5c20a2 to your computer and use it in GitHub Desktop.

Revisions

  1. matejc created this gist Apr 18, 2020.
    9 changes: 9 additions & 0 deletions trigger_debug_build.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    #!/usr/bin/env bash

    curl -s -X POST \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Travis-API-Version: 3" \
    -H "Authorization: token $2" \
    -d "{\"quiet\": true}" \
    https://api.travis-ci.org/job/$1/debug