Skip to content

Commit

Permalink
move from travis-ci.org to travis-ci.com
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue committed Dec 22, 2020
1 parent 4218dfc commit 6e6136c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function triggerSmoketest() {
-H "Authorization: token $TRAVIS_TOKEN" \
-H "Content-Type: application/json" \
-d "$json" \
https://api.travis-ci.org/repo/scala%2Fscala-dist-smoketest/requests)
https://api.travis-ci.com/repo/scala%2Fscala-dist-smoketest/requests)

[[ "$curlStatus" == "202" ]] || {
echo "Failed to start travis build"
Expand Down
2 changes: 1 addition & 1 deletion scripts/common
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function travis_fold_end() {
function postCommitStatus() {
if [[ "$scala_sha" != "" ]]; then
local jsonTemplate='{ "state": "%s", "target_url": "%s", "description": "%s", "context": "%s"}'
local json=$(printf "$jsonTemplate" "$1" "https://travis-ci.org/scala/scala-dist/builds/$TRAVIS_BUILD_ID" "$1" "travis/scala-dist/$version/$mode")
local json=$(printf "$jsonTemplate" "$1" "https://travis-ci.com/scala/scala-dist/builds/$TRAVIS_BUILD_ID" "$1" "travis/scala-dist/$version/$mode")

local curlStatus=$(curl \
-s -o /dev/null -w "%{http_code}" \
Expand Down

0 comments on commit 6e6136c

Please sign in to comment.