summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-06-24 12:52:34 +1000
committerDamien George <damien.p.george@gmail.com>2019-06-25 14:55:10 +1000
commitcc12f750b4020f65ef00b5de2ca3c5ab2627b9d6 (patch)
treeac806db7df5f746446fc78c0dd85c7f64bbc6c8e
parentc60e0a09f0f9db84aee8fdf1de5f416a87cdf868 (diff)
travis: Build esp8266 firmware as part of Travis CI.
Toolchain installation and build takes about 1 minute.
-rw-r--r--.travis.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index e16c36058..ff6b24b95 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -121,6 +121,18 @@ jobs:
- make ${MAKEOPTS} -C mpy-cross
- make ${MAKEOPTS} -C ports/windows CROSS_COMPILE=i686-w64-mingw32-
+ # esp8266 port
+ - stage: test
+ env: NAME="esp8266 port build"
+ install:
+ - wget https://github.com/jepler/esp-open-sdk/releases/download/2018-06-10/xtensa-lx106-elf-standalone.tar.gz
+ - zcat xtensa-lx106-elf-standalone.tar.gz | tar x
+ - export PATH=$(pwd)/xtensa-lx106-elf/bin:$PATH
+ script:
+ - git submodule update --init lib/axtls lib/berkeley-db-1.xx
+ - make ${MAKEOPTS} -C mpy-cross
+ - make ${MAKEOPTS} -C ports/esp8266
+
# nrf port
- stage: test
env: NAME="nrf port build"