diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 649f9534ca4..00000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,110 +0,0 @@
-git:
- submodules: false
-language: scala
-sudo: false
-cache:
- apt: true
- directories:
- $HOME/.cache/coursier
- $HOME/.sbt
- regression/install
- emulator/verilator
-
-dist: xenial
-
-# packages needed to build riscv-tools
-addons:
- apt:
- sources:
- - ubuntu-toolchain-r-test
- packages:
- - gcc-4.8
- - g++-4.8
- - gperf
- - autoconf
- - automake
- - autotools-dev
- - libmpc-dev
- - libmpfr-dev
- - libgmp-dev
- - gawk
- - build-essential
- - bison
- - flex
- - texinfo
- - device-tree-compiler
- - libusb-1.0-0-dev
- - python3-pexpect
- - libre2-dev
-
-
-# blacklist private branches
-branches:
- except:
- - hwacha
- - boom
- - /^hurricane.*$/
-
-# These branches are the only ones that
-# will build when "build branch updates"
-# is set in settings (branches which PR against
-# them are still built). With this set,
-# the above blacklist is not useful.
-# Adding this allows us to keep "Build Branch Updates"
-# set to 'ON'.
-
-branches:
- only:
- - master
-
-jobs:
- include:
- - stage: check wit
- script:
- - ci-tests/check_submodules
- - stage: prepare cache-riscv-tools
- script:
- - travis_wait 120 make tools -C regression SUITE=none
- before_install:
- - export CXX=g++-4.8 CC=gcc-4.8
- before_cache:
- - ls -t regression/install | tail -n+2 | sed s@^@regression/install/@ | xargs rm -rf
- - stage: prepare cache-verilator
- script:
- - travis_wait 120 make verilator -C regression SUITE=none
- before_install:
- - export CXX=g++-4.8 CC=gcc-4.8
- - &test
- stage: Test
- script:
- - ./regression/run-test-bucket 1
- - <<: *test
- script:
- - ./regression/run-test-bucket 2
- - <<: *test
- script:
- - ./regression/run-test-bucket 3
- - <<: *test
- script:
- - ./regression/run-test-bucket 4
- - <<: *test
- script:
- - ./regression/run-test-bucket 5
- - <<: *test
- script:
- - ./regression/run-test-bucket 6
- - <<: *test
- script:
- - ./regression/run-test-bucket 7
- - <<: *test
- name: check wake compilation
- script:
- - ci-tests/wake_scala_compilation
- - <<: *test*
- name: Scala tests
- script:
- - ./regression/run-test-bucket 8
- - <<: *test*
- name: Scala tests
- script:
- - ./regression/run-test-bucket 9
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index ab2af429a89..8fdbed953f1 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -32,7 +32,7 @@ Please ensure to fill out the PR template appropriately and update it if your PR
Currently, the requirements for merging a PR are:
+ At least one approved review from an administrator
- + Passing at least one of the GitHub actions checks or the Travis checks
+ + Passing the GitHub actions checks
### Bumping Submodules
diff --git a/README.md b/README.md
index a174bf291b4..9896e622a77 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-Rocket Chip Generator :rocket: [![Build Status](https://travis-ci.org/chipsalliance/rocket-chip.svg?branch=master)](https://travis-ci.org/chipsalliance/rocket-chip)
+Rocket Chip Generator :rocket: ![Build Status](https://github.com/chipsalliance/rocket-chip/workflows/Continuous%20Integration/badge.svg?branch=master)
=====================
This repository contains the Rocket chip generator necessary to instantiate
diff --git a/README_TRAVIS.md b/README_TRAVIS.md
deleted file mode 100644
index 179ba60109a..00000000000
--- a/README_TRAVIS.md
+++ /dev/null
@@ -1,32 +0,0 @@
-# Travis Notes for Administrators
-
-Administrators: Are PRs taking > 1 hr to run through Travis? If you look at the Travis logs is it building `rocket-tools` or `verilator`?
-
-This is because someone committed a PR to `master` which bumped `riscv-tools` and/or `verilator`
-and the master cache needs to be updated.
-Note that the master cache expires after 28 days.
-This is the procedure to follow to get things fast again.
-Note we don't generally build on branch updates (e.g. to `master`), just PRs, which means that building the `master` cache
-is a manual process when needed.
-
-To get the `master` cache good again:
-----------------------------------
-
-1. Wait for the PR that is changing `rocket-tools` to go green.
-2. Make sure you are logged into Travis. If you don't have the options below, try logging out and in again.
-3. On Travis, click `More Options -> Caches`.
-4. Click `Delete` for the `master` cache. This is necessary because otherwise the cache just accumulates versions of the tools.
-5. On Travis, click `More Options -> Trigger Build` on the upper right.
-6. Trigger a `master` build with a commit message like "manually triggering master build to rebuild cache".
-
-For other PRs which were happening in parallel to the bump of `rocket-tools`/`verilator`:
-----------------------------------------------------------------------------
-
-If your PR already has a cache and you want to keep doing development with the old version of `rocket-tools`/`verilator`, no action is needed.
-
-If you want to merge or rebase your PR on top of `master` with the new version of `rocket-tools`, you should delete your PR branch's local cache. Otherwise it will rebuild the branch cache instead of using `master`'s cache. To do this:
-
-1. Wait for the previous steps to go through so that the `master` cache is done.
-2. On Travis, click `More Options -> Caches` on the upper right.
-3. Click `Delete` for your PR branch's cache.
-4. Push updates to the PR as usual, it should download the new `master` cache.
diff --git a/regression/Makefile b/regression/Makefile
index d0437ffdf3f..e999ac6aa1e 100644
--- a/regression/Makefile
+++ b/regression/Makefile
@@ -170,7 +170,7 @@ stamps/rocket-tools_checkout.stamp: | stamps/riscv-tests.stamp
# This means that the rule will be executed, but it will /not/ be
# evaluated as a depenency for install.stamp. This is needed because
# the timestamp on install.stamp will be older than the checkout stamp
-# anytime we restore the installation area from cache in travisci.
+# anytime we restore the installation area from cache in CI.
$(RISCV)/install.stamp: | stamps/rocket-tools_checkout.stamp
mkdir -p $(dir $@)
+cd $(RISCV_TOOLS); RISCV=$(abspath $(RISCV)) ./build.sh
diff --git a/regression/run-test-bucket b/regression/run-test-bucket
index 66c305a589e..77797d424f2 100755
--- a/regression/run-test-bucket
+++ b/regression/run-test-bucket
@@ -22,27 +22,6 @@ fi
regression_dir=$(cd "$(dirname "$0")" ; pwd -P)
rocketchip_dir=$(dirname "${regression_dir}")
-if [[ ${TRAVIS:-false} == true ]]; then
- # If running on Travis CI, make sure that travis_wait is defined.
- . "${regression_dir}/travis_whereami.bash"
- . "${regression_dir}/travis_setup_env.bash"
- . "${regression_dir}/travis_jigger.bash"
- . "${regression_dir}/travis_wait.bash"
- set +u
- travis_setup_env
- set -u
-else
- # If not running on Travis CI, Stub out the travis_wait to be a no-op, since
- # it's unnecessary and it has some undesirable side effects such as hiding
- # console output until the command finishes.
- travis_wait() {
- # Throw out first argument, which is the wait time in minutes.
- shift
- # Run the remaining arguments as a normal command.
- "$@"
- }
-fi
-
# Always run from the root rocket-chip directory.
cd "${rocketchip_dir}"
@@ -52,44 +31,44 @@ set -x
case "${bucket_number}" in
1)
# Temporarily disable this bucket, which is hitting OOM on Actions
- #travis_wait 100 make emulator-ndebug -C regression SUITE=UnittestSuite JVM_MEMORY=3G VERILATOR_THREADS=1
- #travis_wait 100 make emulator-regression-tests -C regression SUITE=UnittestSuite JVM_MEMORY=3G VERILATOR_THREADS=1
+ #make emulator-ndebug -C regression SUITE=UnittestSuite JVM_MEMORY=3G VERILATOR_THREADS=1
+ #make emulator-regression-tests -C regression SUITE=UnittestSuite JVM_MEMORY=3G VERILATOR_THREADS=1
;;
2)
- travis_wait 80 make emulator-ndebug -C regression SUITE=JtagDtmSuite JVM_MEMORY=3G
- travis_wait 80 make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JVM_MEMORY=3G
- travis_wait 80 make emulator-jtag-dtm-tests-64 -C regression SUITE=JtagDtmSuite JVM_MEMORY=3G
- travis_wait 80 make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=DebugTest JVM_MEMORY=3G
- travis_wait 80 make emulator-jtag-dtm-tests-64 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=DebugTest JVM_MEMORY=3G
+ make emulator-ndebug -C regression SUITE=JtagDtmSuite JVM_MEMORY=3G
+ make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JVM_MEMORY=3G
+ make emulator-jtag-dtm-tests-64 -C regression SUITE=JtagDtmSuite JVM_MEMORY=3G
+ make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=DebugTest JVM_MEMORY=3G
+ make emulator-jtag-dtm-tests-64 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=DebugTest JVM_MEMORY=3G
;;
3)
- travis_wait 80 make emulator-ndebug -C regression SUITE=JtagDtmSuite JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
- travis_wait 80 make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest64 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
- travis_wait 80 make emulator-jtag-dtm-tests-64 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest64 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
- travis_wait 80 make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest32 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
- travis_wait 80 make emulator-jtag-dtm-tests-64 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest32 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
- travis_wait 80 make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest8 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
+ make emulator-ndebug -C regression SUITE=JtagDtmSuite JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
+ make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest64 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
+ make emulator-jtag-dtm-tests-64 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest64 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
+ make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest32 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
+ make emulator-jtag-dtm-tests-64 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest32 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
+ make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest8 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
;;
4)
- travis_wait 80 make emulator-ndebug -C regression SUITE=RocketSuiteB JVM_MEMORY=3G
- travis_wait 80 make emulator-regression-tests -C regression SUITE=RocketSuiteB JVM_MEMORY=3G
+ make emulator-ndebug -C regression SUITE=RocketSuiteB JVM_MEMORY=3G
+ make emulator-regression-tests -C regression SUITE=RocketSuiteB JVM_MEMORY=3G
;;
5)
- travis_wait 80 make emulator-ndebug -C regression SUITE=RocketSuiteA JVM_MEMORY=3G
- travis_wait 80 make emulator-regression-tests -C regression SUITE=RocketSuiteA JVM_MEMORY=3G
+ make emulator-ndebug -C regression SUITE=RocketSuiteA JVM_MEMORY=3G
+ make emulator-regression-tests -C regression SUITE=RocketSuiteA JVM_MEMORY=3G
;;
6)
- travis_wait 80 make emulator-ndebug -C regression SUITE=RocketSuiteC JVM_MEMORY=3G
+ make emulator-ndebug -C regression SUITE=RocketSuiteC JVM_MEMORY=3G
make emulator-regression-tests -C regression SUITE=RocketSuiteC JVM_MEMORY=3G
;;
7)
- travis_wait 100 make emulator-ndebug -C regression SUITE=Miscellaneous JVM_MEMORY=3G
+ make emulator-ndebug -C regression SUITE=Miscellaneous JVM_MEMORY=3G
;;
8)
make scalatest -C regression SUITE=foo JVM_MEMORY=8G
diff --git a/regression/travis_jigger.bash b/regression/travis_jigger.bash
deleted file mode 100644
index 2177a1a2cd4..00000000000
--- a/regression/travis_jigger.bash
+++ /dev/null
@@ -1,42 +0,0 @@
-# MIT LICENSE
-#
-# Copyright (c) 2018 Travis CI GmbH
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy of
-# this software and associated documentation files (the "Software"), to deal in
-# the Software without restriction, including without limitation the rights to
-# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-# the Software, and to permit persons to whom the Software is furnished to do so,
-# subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all
-# copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-# This file came from
-# https://github.com/travis-ci/travis-build/blob/73a5393263e0b135f49aceeb40ef6f0d827b9b11/lib/travis/build/bash/travis_jigger.bash
-
-travis_jigger() {
- local cmd_pid="${1}"
- shift
- local timeout="${1}"
- shift
- local count=0
-
- echo -e "\\n"
-
- while [[ "${count}" -lt "${timeout}" ]]; do
- count="$((count + 1))"
- echo -ne "Still running (${count} of ${timeout}): ${*}\\r"
- sleep 60
- done
-
- echo -e "\\n${ANSI_RED}Timeout (${timeout} minutes) reached. Terminating \"${*}\"${ANSI_RESET}\\n"
- kill -9 "${cmd_pid}"
-}
diff --git a/regression/travis_setup_env.bash b/regression/travis_setup_env.bash
deleted file mode 100644
index e6f11a27e7e..00000000000
--- a/regression/travis_setup_env.bash
+++ /dev/null
@@ -1,117 +0,0 @@
-# MIT LICENSE
-#
-# Copyright (c) 2018 Travis CI GmbH
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy of
-# this software and associated documentation files (the "Software"), to deal in
-# the Software without restriction, including without limitation the rights to
-# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-# the Software, and to permit persons to whom the Software is furnished to do so,
-# subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all
-# copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-# This file came from
-# https://github.com/travis-ci/travis-build/blob/73a5393263e0b135f49aceeb40ef6f0d827b9b11/lib/travis/build/bash/travis_setup_env.bash
-
-# shellcheck disable=SC1117
-
-travis_setup_env() {
- export ANSI_RED="\033[31;1m"
- export ANSI_GREEN="\033[32;1m"
- export ANSI_YELLOW="\033[33;1m"
- export ANSI_RESET="\033[0m"
- export ANSI_CLEAR="\033[0K"
-
- export DEBIAN_FRONTEND=noninteractive
-
- if [ "${TERM}" = dumb ]; then
- unset TERM
- fi
- : "${SHELL:=/bin/bash}"
- : "${TERM:=xterm}"
- : "${USER:=travis}"
- export SHELL
- export TERM
- export USER
-
- case $(uname | tr '[:upper:]' '[:lower:]') in
- linux*)
- export TRAVIS_OS_NAME=linux
- ;;
- darwin*)
- export TRAVIS_OS_NAME=osx
- ;;
- msys*)
- export TRAVIS_OS_NAME=windows
- ;;
- freebsd*)
- export TRAVIS_OS_NAME=freebsd
- ;;
- *)
- export TRAVIS_OS_NAME=notset
- ;;
- esac
-
- case $(uname -m) in
- x86_64*)
- export TRAVIS_CPU_ARCH=amd64
- ;;
- aarch64*)
- export TRAVIS_CPU_ARCH=arm64
- ;;
- ppc64le*)
- export TRAVIS_CPU_ARCH=ppc64le
- ;;
- s390x*)
- export TRAVIS_CPU_ARCH=s390x
- ;;
- *)
- export TRAVIS_CPU_ARCH=notset
- ;;
- esac
-
- export TRAVIS_DIST=notset
- export TRAVIS_INIT=notset
- TRAVIS_ARCH="$(uname -m)"
- if [[ "${TRAVIS_ARCH}" == x86_64 ]]; then
- TRAVIS_ARCH='amd64'
- fi
- export TRAVIS_ARCH
-
- if [[ "${TRAVIS_OS_NAME}" == linux ]]; then
- TRAVIS_DIST="$(lsb_release -sc 2>/dev/null || echo notset)"
- export TRAVIS_DIST
- if command -v systemctl >/dev/null 2>&1; then
- export TRAVIS_INIT=systemd
- else
- export TRAVIS_INIT=upstart
- fi
- fi
-
- export TRAVIS_TEST_RESULT=
- export TRAVIS_CMD=
-
- TRAVIS_TMPDIR="$(mktemp -d 2>/dev/null || mktemp -d -t 'travis_tmp')"
- mkdir -p "${TRAVIS_TMPDIR}"
- export TRAVIS_TMPDIR
-
- TRAVIS_INFRA=unknown
- if [[ "${TRAVIS_ENABLE_INFRA_DETECTION}" == true ]]; then
- TRAVIS_INFRA="$(travis_whereami | awk -F= '/^infra/ { print $2 }')"
- fi
- export TRAVIS_INFRA
-
- if command -v pgrep &>/dev/null; then
- pgrep -u "${USER}" 2>/dev/null |
- grep -v -w "${$}" >"${TRAVIS_TMPDIR}/pids_before" || true
- fi
-}
diff --git a/regression/travis_wait.bash b/regression/travis_wait.bash
deleted file mode 100644
index 7d8bca190fe..00000000000
--- a/regression/travis_wait.bash
+++ /dev/null
@@ -1,62 +0,0 @@
-# MIT LICENSE
-#
-# Copyright (c) 2018 Travis CI GmbH
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy of
-# this software and associated documentation files (the "Software"), to deal in
-# the Software without restriction, including without limitation the rights to
-# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-# the Software, and to permit persons to whom the Software is furnished to do so,
-# subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all
-# copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-# This file came from
-# https://github.com/travis-ci/travis-build/blob/73a5393263e0b135f49aceeb40ef6f0d827b9b11/lib/travis/build/bash/travis_wait.bash
-
-travis_wait() {
- set +e
- local timeout="${1}"
-
- if [[ "${timeout}" =~ ^[0-9]+$ ]]; then
- shift
- else
- timeout=20
- fi
-
- local cmd=("${@}")
- local log_file="travis_wait_${$}.log"
-
- "${cmd[@]}" &>"${log_file}" &
- local cmd_pid="${!}"
-
- travis_jigger "${!}" "${timeout}" "${cmd[@]}" &
- local jigger_pid="${!}"
- local result
-
- {
- wait "${cmd_pid}" 2>/dev/null
- result="${?}"
- ps -p"${jigger_pid}" &>/dev/null && kill "${jigger_pid}"
- }
-
- if [[ "${result}" -eq 0 ]]; then
- printf "\\n${ANSI_GREEN}The command %s exited with ${result}.${ANSI_RESET}\\n" "${cmd[*]}"
- else
- printf "\\n${ANSI_RED}The command %s exited with ${result}.${ANSI_RESET}\\n" "${cmd[*]}"
- fi
-
- echo -e "\\n${ANSI_GREEN}Log:${ANSI_RESET}\\n"
- cat "${log_file}"
-
- set -e
- return "${result}"
-}
diff --git a/regression/travis_whereami.bash b/regression/travis_whereami.bash
deleted file mode 100644
index 139f062a143..00000000000
--- a/regression/travis_whereami.bash
+++ /dev/null
@@ -1,28 +0,0 @@
-# MIT LICENSE
-#
-# Copyright (c) 2018 Travis CI GmbH
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy of
-# this software and associated documentation files (the "Software"), to deal in
-# the Software without restriction, including without limitation the rights to
-# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-# the Software, and to permit persons to whom the Software is furnished to do so,
-# subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all
-# copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-# This file came from
-# https://github.com/travis-ci/travis-build/blob/73a5393263e0b135f49aceeb40ef6f0d827b9b11/lib/travis/build/bash/travis_whereami.bash
-
-travis_whereami() {
- curl -sSL -H 'Accept: text/plain' \
- "${TRAVIS_WHEREAMI_URL:-https://whereami.travis-ci.com}"
-}