Commit b54f242b authored by Ameya Chaubal's avatar Ameya Chaubal

change travis url from .org to .com

parent bcfe6283
Pipeline #114182 failed with stage
in 1 minute and 6 seconds
# Ensembl test harness and related utility scripts
[![Build Status](https://travis-ci.org/Ensembl/ensembl-test.svg?branch=master)][travis]
[![Build Status](https://travis-ci.com/Ensembl/ensembl-test.svg?branch=master)][travis]
[travis]: https://travis-ci.org/Ensembl/ensembl-test
[travis]: https://travis-ci.com/Ensembl/ensembl-test
......@@ -6,7 +6,7 @@
# The Travis API endpoint. .com and .org are the commercial and free versions,
# respectively; enterprise users will have their own hostname.
endpoint=https://api.travis-ci.org
endpoint=https://api.travis-ci.com
#############
# Functions #
......@@ -14,7 +14,7 @@ endpoint=https://api.travis-ci.org
# Get this repo ID
repo_id () {
curl -s -X GET -H "Authorization: token $AUTH_TOKEN" -H "Travis-API-Version: 3" https://api.travis-ci.org/repo/$1 | python3 -c "import sys, json; print(json.load(sys.stdin)['id'])"
curl -s -X GET -H "Authorization: token $AUTH_TOKEN" -H "Travis-API-Version: 3" https://api.travis-ci.com/repo/$1 | python3 -c "import sys, json; print(json.load(sys.stdin)['id'])"
}
# Make an API request using the auth token set above. First argument is the path
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment