Skip to content

Commit

Permalink
fixing travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
Yossi Levy authored and Yossi Levy committed Sep 26, 2018
1 parent 269d27d commit c3738f6
Showing 1 changed file with 7 additions and 20 deletions.
27 changes: 7 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

0 comments on commit c3738f6

Please # to comment.