diff options
author | marcoveeneman <marco-veeneman@hotmail.com> | 2017-04-21 19:02:48 +0200 |
---|---|---|
committer | marcoveeneman <marco-veeneman@hotmail.com> | 2017-04-21 19:02:48 +0200 |
commit | 6226e8f5cc1cb7b8abf96f2ce516c88dccb073f4 (patch) | |
tree | 4800f68f75bed05b2ec6a9361a8f952a600dfdf6 /tools | |
parent | 2841fd88cde83b00d79c77e4d5c9441ddd9e22aa (diff) | |
download | ChibiOS-Contrib-6226e8f5cc1cb7b8abf96f2ce516c88dccb073f4.tar.gz ChibiOS-Contrib-6226e8f5cc1cb7b8abf96f2ce516c88dccb073f4.tar.bz2 ChibiOS-Contrib-6226e8f5cc1cb7b8abf96f2ce516c88dccb073f4.zip |
Moved travis scripts
Diffstat (limited to 'tools')
-rw-r--r-- | tools/travis/before_install.sh | 18 | ||||
-rw-r--r-- | tools/travis/script.sh | 42 |
2 files changed, 60 insertions, 0 deletions
diff --git a/tools/travis/before_install.sh b/tools/travis/before_install.sh new file mode 100644 index 0000000..0769759 --- /dev/null +++ b/tools/travis/before_install.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +set -ex + +cd /tmp + +sudo apt-get install lib32z1 +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 +tar xjf gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar.bz2 +export PATH=/tmp/gcc-arm-none-eabi-4_9-2015q3/bin:$PATH +arm-none-eabi-gcc --version + +cd - +cd .. + +mkdir ChibiOS-RT +cd ChibiOS-RT +git clone https://github.com/ChibiOS/ChibiOS.git . diff --git a/tools/travis/script.sh b/tools/travis/script.sh new file mode 100644 index 0000000..457a38f --- /dev/null +++ b/tools/travis/script.sh @@ -0,0 +1,42 @@ +#!/bin/sh + +set -ex + +export PATH=/tmp/gcc-arm-none-eabi-4_9-2015q3/bin:$PATH + +git checkout -- . +git clean -xfd +make -C demos/TIVA/RT-TM4C123G-LAUNCHPAD + +git checkout -- . +git clean -xfd +make -C demos/TIVA/RT-TM4C1294-LAUNCHPAD + +# This demo needs LWIP, it is disabled for now. +# git checkout -- . +# git clean -xfd +# make -C demos/TIVA/RT-TM4C1294-LAUNCHPAD-LWIP + +git checkout -- . +git clean -xfd +make -C testhal/TIVA/TM4C123x/EXT/ + +git checkout -- . +git clean -xfd +make -C testhal/TIVA/TM4C123x/GPT + +git checkout -- . +git clean -xfd +make -C testhal/TIVA/TM4C123x/I2C + +git checkout -- . +git clean -xfd +make -C testhal/TIVA/TM4C123x/PWM + +git checkout -- . +git clean -xfd +make -C testhal/TIVA/TM4C123x/SPI + +git checkout -- . +git clean -xfd +make -C testhal/TIVA/TM4C123x/WDG |