Created
November 9, 2018 00:50
-
-
Save ralphtheninja/0e1ee5836edbd2a8b3c1ea69cdd88bbf to your computer and use it in GitHub Desktop.
Extracted travis curl command into script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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