diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-02-07 17:53:43 +0100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-02-07 17:53:43 +0100 |
commit | 616b8604b0b0f7e281ecfeff385d96a6a14955da (patch) | |
tree | 09c30b5478fddf6c36326b21fdd963e82ff8cbb8 | |
parent | 6a92cc28977ff4d51fa0bafcb757867b27ebdb45 (diff) | |
download | qmk_firmware-616b8604b0b0f7e281ecfeff385d96a6a14955da.tar.gz qmk_firmware-616b8604b0b0f7e281ecfeff385d96a6a14955da.tar.xz |
variable scope fix for travis
-rw-r--r-- | .travis.yml | 6 | ||||
-rw-r--r-- | util/travis_build.sh | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 28f01ecb0..18ecde7e3 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 38c1ffc65..fab9178de 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 |