From c3738f630a5a48b5a77e00e5344294546a49e695 Mon Sep 17 00:00:00 2001 From: Yossi Levy Date: Wed, 26 Sep 2018 15:42:52 +0300 Subject: [PATCH] fixing travis build --- .travis.yml | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index f6b44a0..dcc3509 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,7 @@ env: matrix: - - TARGET=K82F - - TARGET=NRF52840_DK - - TARGET=K64F - - TARGET=UBLOX_EVK_ODIN_W2 - - TARGET=NUCLEO_F429ZI + global: - > STATUS=$'curl -so/dev/null --user $MBED_BOT --request POST @@ -53,21 +49,12 @@ install: - python --version script: - # Check that example compiles with spif - - mbed compile -t GCC_ARM -m $TARGET -j0 - - # Check that example compiles with dataflash - - sed -i 's/SPIFBlockDevice bd/DataFlashBlockDevice bd/g' main.cpp - - sed -i 's/MBED_CONF_SPIF_DRIVER/MBED_CONF_DATAFLASH/g' main.cpp - - mbed compile -t GCC_ARM -m $TARGET -j0 - # Check that example compiles with sd - - sed -i 's/DataFlashBlockDevice bd/SDBlockDevice bd/g' main.cpp - - sed -i 's/MBED_CONF_DATAFLASH/MBED_CONF_SD/g' main.cpp - - mbed compile -t GCC_ARM -m $TARGET -j0 + - mbed compile -t GCC_ARM -m K64F -j0 + + # Check that example compiles with spif + - sed -i 's/SDBlockDevice bd/SPIFBlockDevice bd/g' main.cpp + - sed -i 's/MBED_CONF_SD/MBED_CONF_SPIF_DRIVER/g' main.cpp + - mbed compile -t GCC_ARM -m $K82F -j0 - # Check that example compiles with heap - - sed -i 's/SDBlockDevice bd(/HeapBlockDevice bd(1024*512, 512);/g' main.cpp - - sed -i '/MBED_CONF_SD/d' main.cpp - - mbed compile -t GCC_ARM -m $TARGET -j0