From 7c6b95b5ab2b6e9a8f2a291e932be492b27b1adb Mon Sep 17 00:00:00 2001 From: George Oikonomou Date: Sun, 1 Jun 2014 19:54:58 +0100 Subject: [PATCH] Improve travis RL78 tests * No longer apt-get install a bunch of packages which are not really needed * Only install gnurl78 if its download succeeded --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7994153e8..2a4ec55ef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,9 +17,8 @@ before_script: | 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) - - "sudo apt-get install git make gcc libc-dev multiarch-support libncurses5:i386 zlib1g:i386" - - "wget https://dl.dropboxusercontent.com/u/60522916/gnurl78-v13.02-elf_1-2_i386.deb" - - "sudo dpkg -i gnurl78*.deb" + - "sudo apt-get install libncurses5:i386 zlib1g:i386 || true" + - "wget https://dl.dropboxusercontent.com/u/60522916/gnurl78-v13.02-elf_1-2_i386.deb && sudo dpkg -i gnurl78*.deb || true" ## Install SDCC from a purpose-built bundle - "[ ${BUILD_ARCH:-0} = 8051 ] && curl -s \