Merge pull request #564 from sherlockflight/travis

Use 4.8 series GCC compiler for Travis build tests
This commit is contained in:
Dominic Clifton 2015-03-03 10:55:36 +00:00
commit 03c93d3cfa
1 changed files with 9 additions and 3 deletions

View File

@ -17,10 +17,16 @@ env:
# We use cpp for unit tests, and c for the main project.
language: cpp
compiler: clang
before_install:
- sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
- sudo apt-get update
install: sudo apt-get install build-essential gcc-arm-none-eabi=4.* git
- sudo apt-get update
- wget "https://launchpad.net/gcc-arm-embedded/4.8/4.8-2014-q3-update/+download/gcc-arm-none-eabi-4_8-2014q3-20140805-linux.tar.bz2"
install:
- sudo apt-get install build-essential git libc6-i386
- tar -xf gcc-arm-none-eabi-4_8-2014q3-20140805-linux.tar.bz2
- export PATH=$PATH:$PWD/gcc-arm-none-eabi-4_8-2014q3/bin
before_script: arm-none-eabi-gcc --version
script: ./.travis.sh