From 78e13a936aaf56cdd6bcdc0f626d4f7b94d92551 Mon Sep 17 00:00:00 2001 From: George Oikonomou Date: Sat, 26 Apr 2014 14:06:53 +0100 Subject: [PATCH] Fix Travis failure For travis tests, we host pre-built bundles of the arm-gcc and sdcc toolchains on github, and we download them with curl Apparently, the URL for those bundles has been changed and the HTTP response is a 301 redirect. curl doesn't follow it We change .travis.yml to pull the bundles form the new location --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 003ccedb8..7994153e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ before_script: ## Install toolchain for mc1233x, cc2538 and mbxxx in care-free way - "[ ${BUILD_ARCH:-0} = arm ] && curl -s \ - https://raw.github.com/wiki/malvira/libmc1322x/files/arm-2008q3-66-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 \ + https://raw.githubusercontent.com/wiki/malvira/libmc1322x/files/arm-2008q3-66-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 \ | tar xjf - -C /tmp/ && sudo cp -f -r /tmp/arm-2008q3/* /usr/ && rm -rf /tmp/arm-2008q3 && arm-none-eabi-gcc --version || true" ## Install RL78 GCC chain (following the instructions in platform/eval-adf7xxxmb4z/README.md) @@ -23,7 +23,7 @@ before_script: ## Install SDCC from a purpose-built bundle - "[ ${BUILD_ARCH:-0} = 8051 ] && curl -s \ - https://raw.github.com/wiki/g-oikonomou/contiki-sensinode/files/sdcc.tar.gz \ + https://raw.githubusercontent.com/wiki/g-oikonomou/contiki-sensinode/files/sdcc.tar.gz \ | tar xzf - -C /tmp/ && sudo cp -f -r /tmp/sdcc/* /usr/local/ && rm -rf /tmp/sdcc && sdcc --version || true" - "[ ${BUILD_ARCH:-0} = 8051 ] && sudo apt-get -qq install srecord || true"