[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:
- avr-gcc --version
script:
- make $TARGET AUTOGEN=$AUTOGEN
- 'if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then
make $TARGET AUTOGEN=$AUTOGEN
fi'
addons:
apt:
packages:

View file

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