Skip to content

[backport] new TRAVIS_TOKEN #210

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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