summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-02-07 11:53:43 -0500
committerJack Humbert <jack.humb@gmail.com>2017-02-07 11:53:43 -0500
commit616b8604b0b0f7e281ecfeff385d96a6a14955da (patch)
tree09c30b5478fddf6c36326b21fdd963e82ff8cbb8
parent6a92cc28977ff4d51fa0bafcb757867b27ebdb45 (diff)
variable scope fix for travis
-rw-r--r--.travis.yml6
-rw-r--r--util/travis_build.sh2
2 files changed, 3 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 28f01ecb07..18ecde7e3c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,7 +17,7 @@ install:
before_script:
- avr-gcc --version
script:
-- make test AUTOGEN="false"
+- make test AUTOGEN=false
- bash util/travis_build.sh
addons:
apt:
@@ -29,6 +29,4 @@ addons:
- libnewlib-arm-none-eabi
- diffutils
after_success:
- if [ "$AUTOGEN" == "true" ]; then
- bash util/travis_compiled_push.sh;
- fi
+ bash util/travis_compiled_push.sh
diff --git a/util/travis_build.sh b/util/travis_build.sh
index 38c1ffc652..fab9178def 100644
--- a/util/travis_build.sh
+++ b/util/travis_build.sh
@@ -12,7 +12,7 @@ if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then
MKB=$(git diff --name-only -n 1 ${TRAVIS_COMMIT_RANGE} | grep -oP '(?<=keyboards\/)([a-zA-Z_]+)' | sort -u)
for KB in $MKB ; do
echo "Making all keymaps for $KB"
- make "$KB" AUTOGEN="true"
+ make "$KB" AUTOGEN=true
done
fi
fi