ref: bfbbbef9f699a2fc174ffdb72a75b61a05507cfa
parent: 622abd1c2f93e197eec080603b35a6aa48a6bebe
author: gkostka <[email protected]>
date: Thu Nov 5 03:12:58 EST 2015
Add arm-none-eabi-gcc toolchain to travis build
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,16 +1,21 @@
-language: c
+language: c
compiler: gcc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq cmake
+ - 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
+ - export PATH=$PWD/gcc-arm-none-eabi-4_9-2015q3/bin:$PATH
-before_script:
- - make
- - cd build_generic && make
-
-script: make
+script:
+ - make generic
+ - cd build_generic && make -j`nproc`
+ - cd ..
+ - make cortex-m4
+ - cd build_cortex-m4 && make -j`nproc`
notifications:
on_success: change