1
0
Fork 0

accept numbers in travis build

This commit is contained in:
Jack Humbert 2017-02-07 20:51:50 -05:00
parent f5c8c5d4c8
commit ad1327cd00

View file

@ -11,7 +11,7 @@ if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then
make all-keyboards AUTOGEN="true" make all-keyboards AUTOGEN="true"
: $((exit_code = $exit_code + $?)) : $((exit_code = $exit_code + $?))
else else
MKB=$(git diff --name-only -n 1 ${TRAVIS_COMMIT_RANGE} | grep -oP '(?<=keyboards\/)([a-zA-Z_]+)' | sort -u) MKB=$(git diff --name-only -n 1 ${TRAVIS_COMMIT_RANGE} | grep -oP '(?<=keyboards\/)([a-zA-Z0-9_]+)' | sort -u)
for KB in $MKB ; do for KB in $MKB ; do
echo "Making all keymaps for $KB" echo "Making all keymaps for $KB"
make "$KB" AUTOGEN=true make "$KB" AUTOGEN=true