mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-26 21:26:46 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
4a5388a2b6
@ -34,7 +34,7 @@ def test_compile():
|
|||||||
|
|
||||||
|
|
||||||
def test_compile_json():
|
def test_compile_json():
|
||||||
result = check_subcommand('compile', '-kb', 'handwired/onekey/pytest', '-km', 'default_json')
|
result = check_subcommand('compile', '-kb', 'handwired/onekey/pytest', '-km', 'default_json', '-n')
|
||||||
check_returncode(result)
|
check_returncode(result)
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
source util/travis_utils.sh
|
source util/travis_utils.sh
|
||||||
|
|
||||||
NUM_CORE_CHANGES=$(echo "$QMK_CHANGES" | grep -Ecv -e '^(docs/)' -e '^(keyboards/)' -e '^(layouts/)' -e '^(util/)' -e '^(lib/python/)' -e '^(bin/qmk)' -e '^(requirements.txt)' -e '(.travis.yml)')
|
|
||||||
|
|
||||||
if [[ "$TRAVIS_COMMIT_MESSAGE" == *"[skip build]"* ]]; then
|
if [[ "$TRAVIS_COMMIT_MESSAGE" == *"[skip build]"* ]]; then
|
||||||
echo "Skipping due to commit message"
|
echo "Skipping due to commit message"
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
source util/travis_utils.sh
|
source util/travis_utils.sh
|
||||||
|
|
||||||
NUM_CORE_CHANGES=$(echo "$QMK_CHANGES" | grep -Ecv -e '^(docs/)' -e '^(keyboards/)' -e '^(layouts/)' -e '^(util/)' -e '^(lib/python/)' -e '^(bin/qmk)' -e '^(requirements.txt)' -e '(.travis.yml)')
|
|
||||||
|
|
||||||
if [[ "$TRAVIS_COMMIT_MESSAGE" == *"[skip test]"* ]]; then
|
if [[ "$TRAVIS_COMMIT_MESSAGE" == *"[skip test]"* ]]; then
|
||||||
echo "Skipping due to commit message"
|
echo "Skipping due to commit message"
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -12,6 +12,7 @@ TRAVIS_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE:-HEAD~1..HEAD}"
|
|||||||
# Extra variables
|
# Extra variables
|
||||||
LOCAL_BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
LOCAL_BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
||||||
QMK_CHANGES=$(git diff --name-only -n 1 ${TRAVIS_COMMIT_RANGE})
|
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 docker is installed - patch calls to within the qmk docker image
|
||||||
if command -v docker >/dev/null; then
|
if command -v docker >/dev/null; then
|
||||||
|
Loading…
Reference in New Issue
Block a user