Skip to content

Commit

Permalink
Always build everything on master
Browse files Browse the repository at this point in the history
  • Loading branch information
fredizzimo committed Jun 18, 2017
1 parent 5acc0e5 commit a15510b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion util/travis_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ TRAVIS_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE:-HEAD~1..HEAD}"
if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then
exit_code=0
NEFM=$(git diff --name-only -n 1 ${TRAVIS_COMMIT_RANGE} | grep -Ev '^(keyboards/)' | grep -Ev '^(docs/)' | wc -l)
if [[ $NEFM -gt 0 ]] ; then
BRANCH=$(git rev-parse --abbrev-ref HEAD)
if [ $NEFM -gt 0 -o "$BRANCH" = "master" ]; then
echo "Making all keymaps for all keyboards"
make all-keyboards AUTOGEN="true"
: $((exit_code = $exit_code + $?))
Expand Down

0 comments on commit a15510b

Please sign in to comment.