ref: fddf3106293392f19dd4a5ac5f4608d96ded8f12
parent: 6e3301d5ce170df63d2e3f8ce02cb61519ca1bce
author: gkostka <kostka.grzegorz@gmail.com>
date: Mon Mar 21 18:33:15 EDT 2016
travis: change toolchain in travis file & add new builds
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,23 +6,28 @@
install:
- uname -a
- - sudo dpkg --add-architecture i386
- sudo rm /var/lib/apt/lists/* -vfr
- sudo apt-get update -qq
- - sudo apt-get install -qq cmake gcc-multilib libc6:i386 libgcc1:i386
- - wget https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q3-update/+download/gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar.bz2
- - bzip2 -d gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar.bz2
- - tar xfv gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar
+ - sudo apt-get install -qq cmake
+ - wget http://www.freddiechopin.info/en/download/category/11-bleeding-edge-toolchain?download=139%3Ableeding-edge-toolchain-151225-64-bit-linux -O /tmp/gcc-arm-none-eabi-5_3-151225-linux-x64.tar.xz
+ - tar -xf /tmp/gcc-arm-none-eabi-5_3-151225-linux-x64.tar.xz -C /tmp/
+ - export SAVED_PATH=$PATH
script:
- - export PATH=$PWD/gcc-arm-none-eabi-4_9-2015q3/bin:$PATH
- gcc --version
- make generic
- cd build_generic && make -j`nproc`
- cd ..
+ - export PATH=/tmp/gcc-arm-none-eabi-5_3-151225/bin:$SAVED_PATH
- arm-none-eabi-gcc --version
- make cortex-m4
- cd build_cortex-m4 && make -j`nproc`
+ - cd ..
+ - make cortex-m3
+ - cd build_cortex-m3 && make -j`nproc`
+ - cd ..
+ - make cortex-m0
+ - cd build_cortex-m0 && make -j`nproc`
- cd ..
notifications: