Skip to content

Commit

Permalink
[skip build] testing travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhumbert committed Feb 6, 2017
1 parent 835cacb commit 3a76f24
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 19 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
40 changes: 22 additions & 18 deletions util/travis_compiled_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3a76f24

Please sign in to comment.