[skip build] testing travis script

This commit is contained in:
Jack Humbert 2017-02-06 16:42:18 -05:00
parent 835cacb031
commit 3a76f24cbd
2 changed files with 23 additions and 17 deletions

View file

@ -19,7 +19,9 @@ install:
before_script: before_script:
- avr-gcc --version - avr-gcc --version
script: script:
- make $TARGET AUTOGEN=$AUTOGEN - 'if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then
make $TARGET AUTOGEN=$AUTOGEN
fi'
addons: addons:
apt: apt:
packages: packages:

View file

@ -26,6 +26,8 @@ else
echo "No essential files modified." echo "No essential files modified."
fi fi
if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then
make ergodox-ez AUTOGEN=true make ergodox-ez AUTOGEN=true
find . -name ".build" | xargs rm -rf find . -name ".build" | xargs rm -rf
@ -44,3 +46,5 @@ cp ../qmk_firmware/readme.md qmk_readme.md
git add -A git add -A
git commit -m "generated from qmk/qmk_firmware@${rev}" git commit -m "generated from qmk/qmk_firmware@${rev}"
git push git push
fi