Skip to content

Commit 1c953d4

Browse files
committed
.travis.yml: move the esp-open-sdk SDK up a dir
Otherwise, an error occurs when installing TRAVIS_SDK=esp8266 *AND* trying to do TRAVIS_TESTS=docs in the same sub-build, with an error like Warning, treated as error: .../icmp.h:77:undecodable source characters, replacing with "?" due to non-ASCII characters in some header file within the esp-open-sdk
1 parent 852cbca commit 1c953d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ before_script:
4545
- (! var_search "${TRAVIS_SDK-}" nrf || sudo ports/nrf/drivers/bluetooth/download_ble_stack.sh)
4646

4747
# For huzzah builds
48-
- (! var_search "${TRAVIS_SDK-}" esp8266 || (wget https://github.com/jepler/esp-open-sdk/releases/download/2018-06-10/xtensa-lx106-elf-standalone.tar.gz && tar xavf xtensa-lx106-elf-standalone.tar.gz))
49-
- if var_search "${TRAVIS_SDK-}" esp8266 ; then PATH=$(readlink -f xtensa-lx106-elf/bin):$PATH; fi
48+
- (! var_search "${TRAVIS_SDK-}" esp8266 || (wget https://github.com/jepler/esp-open-sdk/releases/download/2018-06-10/xtensa-lx106-elf-standalone.tar.gz && tar -C .. -xavf xtensa-lx106-elf-standalone.tar.gz))
49+
- if var_search "${TRAVIS_SDK-}" esp8266 ; then PATH=$(readlink -f ../xtensa-lx106-elf/bin):$PATH; fi
5050

5151
# For coverage testing (upgrade is used to get latest urllib3 version)
5252
- ([[ -z "$TRAVIS_TESTS" ]] || sudo apt-get install -y python3-pip)

0 commit comments

Comments
 (0)