Skip to content

Instantly share code, notes, and snippets.

@ralphtheninja
Created November 9, 2018 00:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ralphtheninja/0e1ee5836edbd2a8b3c1ea69cdd88bbf to your computer and use it in GitHub Desktop.
Save ralphtheninja/0e1ee5836edbd2a8b3c1ea69cdd88bbf to your computer and use it in GitHub Desktop.
Extracted travis curl command into script
#!/bin/bash
curl -s -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Travis-API-Version: 3" \
-H "Authorization: token $TRAVIS_TOKEN" \
-d "{\"quiet\": true}" \
https://api.travis-ci.org/job/$TRAVIS_JOB/debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment