|
|
@ -51,6 +51,14 @@ if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Check and run python tests if necessary
|
|
|
|
|
|
|
|
PFM=$(git diff --name-only -n 1 ${TRAVIS_COMMIT_RANGE} | grep -E '^(lib/python/)' | wc -l)
|
|
|
|
|
|
|
|
if [ $PFM -gt 0 -o "$BRANCH" = "master" ]; then
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
echo "Running python tests."
|
|
|
|
|
|
|
|
bin/qmk nose2
|
|
|
|
|
|
|
|
: $((exit_code = $exit_code + $?))
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
exit $exit_code
|
|
|
|
exit $exit_code
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|