diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-02-06 22:42:18 +0100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-02-06 22:42:18 +0100 |
commit | 3a76f24cbdd0894af85fee79e371c5ca7cda0f71 (patch) | |
tree | 1f72f9e7d10f855c2620a5a98d447a50d9b12201 /util | |
parent | 835cacb031faabadf2c09de51323506f8f41b4ef (diff) | |
download | qmk_firmware-3a76f24cbdd0894af85fee79e371c5ca7cda0f71.tar.gz qmk_firmware-3a76f24cbdd0894af85fee79e371c5ca7cda0f71.tar.xz |
[skip build] testing travis script
Diffstat (limited to 'util')
-rw-r--r-- | util/travis_compiled_push.sh | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/util/travis_compiled_push.sh b/util/travis_compiled_push.sh index 9f23db972..f12da913c 100644 --- a/util/travis_compiled_push.sh +++ b/util/travis_compiled_push.sh @@ -26,21 +26,25 @@ else echo "No essential files modified." fi -make ergodox-ez AUTOGEN=true - -find . -name ".build" | xargs rm -rf -cd .. -git clone https://$GH_TOKEN@github.com/jackhumbert/qmk.fm.git -cd qmk.fm -git submodule update --init --recursive -rm -rf keyboard -rm -rf keyboards -cp -r ../qmk_firmware/keyboards . -mkdir keyboards/ergodox_ez/ -cp ../qmk_firmware/util/ergodox_ez.html keyboards/ergodox_ez/index.html -cp ../qmk_firmware/readme.md qmk_readme.md -./generate.sh - -git add -A -git commit -m "generated from qmk/qmk_firmware@${rev}" -git push +if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then + + make ergodox-ez AUTOGEN=true + + find . -name ".build" | xargs rm -rf + cd .. + git clone https://$GH_TOKEN@github.com/jackhumbert/qmk.fm.git + cd qmk.fm + git submodule update --init --recursive + rm -rf keyboard + rm -rf keyboards + cp -r ../qmk_firmware/keyboards . + mkdir keyboards/ergodox_ez/ + cp ../qmk_firmware/util/ergodox_ez.html keyboards/ergodox_ez/index.html + cp ../qmk_firmware/readme.md qmk_readme.md + ./generate.sh + + git add -A + git commit -m "generated from qmk/qmk_firmware@${rev}" + git push + +fi
\ No newline at end of file |