Skip to content

Commit

Permalink
[backport] new TRAVIS_TOKEN
Browse files Browse the repository at this point in the history
context is scala/scala-dev#728 (migration to travis-ci.com)

backports scala#209, plus e40fd60
  • Loading branch information
SethTisue committed Dec 22, 2020
1 parent 2d92000 commit 199a4c5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ env:
- secure: "NlnFqZs4mvCi63GqCdUNDsx9BoiyrjgoV0cUaKlhVYp49/qAMlEaKf6JABWy/oCHoWsTyysyLEtZLsWfjAyE4+FUHSzngNUHVFBbtyudA6aKQ7jMsqkcMM/K0h+ymnhHSv8bugc8jXKFgmfYk4YTi5dZgv8CAOSQFAFUaxVdYTY="
# APPVEYOR_TOKEN (login with GitHub as lrytz, use the scala organization)
- secure: "aHM0UWkbFN0bXQja2f9lUcSgqHzXYkYqqV8/nP5MTLKJG8BpuaLYxI4gHfkPmxSm9/TTniA3zUVN//lJTvhco5J5Dtxfo5DeCLWsjQcQxrsgAFD97FpMpGbtFAViZuiv7SdPGvzXQY6AwvteBpxOday4T224aH5OjZJ0DxySx8Q="
# TRAVIS_TOKEN (login with GitHub as lrytz)
- secure: "K6G3SeMRMgC8JUZADyd4RKvQpgHOZb8/8kk3AlDtRWZmrBPkZpTrtcuQLYXRiEAO/beQH956i3+uDeFryF079YTJZKtdqLTxwXS53gVurOv9VVbZFubu4HzXWMWeCIi9Np7S0eB1qc4NIKB+T5pbmIfEFGKThBGK179uwf2lqQ8="
# TRAVIS_TOKEN (login with GitHub as SethTisue)
- secure: "KzcB0qrsnD0o4iBW2dI/5uoHoPF8EVJpC+T+caA76WaXKRqVwr996FM83ky7XDeUjwop2bBtoIIiWXoTFqCI/oyIYggcdhphmdnq9IKGG3LXD49QUq60MRSRc+jAg3RY0TPQ/f4qcZaLfa0PHGN79n1DbYlSeZfwSg+xKlZ2f/8="
# AWS_ACCESS_KEY_ID
- secure: "BrsLFLXLdJ3aesJGuoVXFdKluYl7QYBYjn5+ttoep2nc6/E+L3UDaR//ztxwex4a9yFi5q2jCs911FzVsk78ODamr5w8FBlOuu06RoVx642+U/agG7yUdAtvEzH2KVTBNjY0oYHZ+OlVEkeYgnkrsbfki+ujPWEnxkakWyrGtJw="
# AWS_SECRET_ACCESS_KEY
Expand Down
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 199a4c5

Please sign in to comment.