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
This commit is contained in:
George Oikonomou 2014-06-01 19:54:58 +01:00
parent 17a935ddf5
commit 7c6b95b5ab

View file

@ -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" | 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) ## 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" - "sudo apt-get install libncurses5:i386 zlib1g:i386 || true"
- "wget https://dl.dropboxusercontent.com/u/60522916/gnurl78-v13.02-elf_1-2_i386.deb" - "wget https://dl.dropboxusercontent.com/u/60522916/gnurl78-v13.02-elf_1-2_i386.deb && sudo dpkg -i gnurl78*.deb || true"
- "sudo dpkg -i gnurl78*.deb"
## Install SDCC from a purpose-built bundle ## Install SDCC from a purpose-built bundle
- "[ ${BUILD_ARCH:-0} = 8051 ] && curl -s \ - "[ ${BUILD_ARCH:-0} = 8051 ] && curl -s \