summaryrefslogtreecommitdiff
path: root/util/travis_utils.sh
diff options
context:
space:
mode:
authorSpaceman <rionlion100@gmail.com>2021-08-20 18:31:26 -0400
committerGitHub <noreply@github.com>2021-08-20 23:31:26 +0100
commitc71d67ba3f4bdedbd5ec1e931e6ea9568fcd0d98 (patch)
treee6bfb67fbcfc9b0cae7e254fd6d96e33c69e2fdf /util/travis_utils.sh
parent30bb807c13a5787164bd63fa17a97c0870a60198 (diff)
downloadqmk_firmware-c71d67ba3f4bdedbd5ec1e931e6ea9568fcd0d98.tar.gz
qmk_firmware-c71d67ba3f4bdedbd5ec1e931e6ea9568fcd0d98.zip
[Core] [Docs] Remove travis-ci references (#13916)
Diffstat (limited to 'util/travis_utils.sh')
-rwxr-xr-xutil/travis_utils.sh25
1 files changed, 0 insertions, 25 deletions
diff --git a/util/travis_utils.sh b/util/travis_utils.sh
deleted file mode 100755
index e949946e22..0000000000
--- a/util/travis_utils.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-# Use this by sourcing it in your script.
-
-# Provide sane defaults for travis environment
-TRAVIS_BRANCH="${TRAVIS_BRANCH:master}"
-TRAVIS_PULL_REQUEST="${TRAVIS_PULL_REQUEST:false}"
-TRAVIS_COMMIT_MESSAGE="${TRAVIS_COMMIT_MESSAGE:-none}"
-TRAVIS_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE:-HEAD~1..HEAD}"
-
-# test force push
-#TRAVIS_COMMIT_RANGE="c287f1bfc5c8...81f62atc4c1d"
-
-# Extra variables
-LOCAL_BRANCH=$(git rev-parse --abbrev-ref HEAD)
-QMK_CHANGES=$(git diff --name-only -n 1 ${TRAVIS_COMMIT_RANGE})
-NUM_CORE_CHANGES=$(echo "$QMK_CHANGES" | grep -Ec -e '^Makefile' -e '^[^/]*.mk' -e '^drivers/' -e '^lib/atsam' -e '^lib/lib8tion/' -e '^platforms' -e '^quantum' -e '^tests' -e '^tmk_core')
-
-# if docker is installed - patch calls to within the qmk docker image
-if command -v docker >/dev/null; then
- function make() {
- docker run --rm -e MAKEFLAGS="$MAKEFLAGS" -w /qmk_firmware/ -v "$PWD":/qmk_firmware --user $(id -u):$(id -g) qmkfm/base_container make "$@"
- }
- function qmk() {
- docker run --rm -w /qmk_firmware/ -v "$PWD":/qmk_firmware --user $(id -u):$(id -g) qmkfm/base_container bin/qmk "$@"
- }
-fi