ci: Fix travis build with legacy IDFs

This commit is contained in:
David Cermak
2020-07-24 14:56:12 +02:00
parent d754293d25
commit 651c2fb4a2

View File

@ -17,7 +17,7 @@ before_install:
- git checkout -b temporary_ref_branch
- CI_COMMIT_SHA=$(git rev-parse HEAD)
# Test building with latest (stable == v3.3 for now) IDF
- LATEST_IDF=release/v3.3
- LTS_IDF=release/v3.3
install:
# Install ESP32 toochain following steps as desribed
@ -44,13 +44,13 @@ script:
- cd $IDF_PATH
- git checkout v3.1 && git submodule update --init --recursive
- cd $PROJECT_PATH
- ./modify_for_legacy_idf.sh ${LATEST_IDF} || true
- ./ci/modify_for_legacy_idf.sh ${LTS_IDF} || true
- cd $PROJECT_PATH/examples/tcp
- make defconfig
- make -j4
# Build with latest IDF
# Build with v3.3 (LTS) IDF
- cd $IDF_PATH
- git checkout ${LATEST_IDF} && git submodule update --init --recursive
- git checkout ${LTS_IDF} && git submodule update --init --recursive
- cd $IDF_PATH/components/mqtt/esp-mqtt
- git remote add local $PROJECT_PATH/.git
- git fetch local