mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-24 04:12:56 +00:00
8724a70c4c
* add -n to avoid compiling * switch to an include rather than exclude strategy
20 lines
350 B
Bash
20 lines
350 B
Bash
#!/bin/bash
|
|
|
|
source util/travis_utils.sh
|
|
|
|
if [[ "$TRAVIS_COMMIT_MESSAGE" == *"[skip test]"* ]]; then
|
|
echo "Skipping due to commit message"
|
|
exit 0
|
|
fi
|
|
|
|
exit_code=0
|
|
|
|
if [ "$LOCAL_BRANCH" == "master" ] || [ "$NUM_CORE_CHANGES" != "0" ]; then
|
|
echo "Running tests."
|
|
make test:all
|
|
: $((exit_code = $exit_code + $?))
|
|
|
|
fi
|
|
|
|
exit $exit_code
|