This repository was archived by the owner on Apr 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 55- osx
66env :
77 global :
8- - ARDUINO_SDK_BASE_PATH=/home/travis/ arduino-sdk/arduino
8+ - ARDUINO_SDK_BASE_PATH=arduino-sdk/arduino
99 matrix :
1010 - ARDUINO_SDK_VERSION=1.6.10
1111 - ARDUINO_SDK_VERSION=1.8.7
1212cache :
1313 directories :
14- - $ARDUINO_SDK_BASE_PATH-$ARDUINO_SDK_VERSION
14+ - $HOME/$ ARDUINO_SDK_BASE_PATH-$ARDUINO_SDK_VERSION
1515addons :
1616 apt :
1717 packages :
@@ -20,9 +20,9 @@ addons:
2020 - avrdude
2121 - cmake
2222before_install :
23- - sdk_path="$ARDUINO_SDK_BASE_PATH-$ARDUINO_SDK_VERSION"
23+ - sdk_path="$HOME/$ ARDUINO_SDK_BASE_PATH-$ARDUINO_SDK_VERSION"
2424- mkdir -p "$sdk_path"
25- - cd "$sdk_path/.." # Get to arduino-sdk
25+ - cd "$sdk_path/../.. " # Get one level above ' arduino-sdk'
2626- |
2727 if [[ $TRAVIS_OS_NAME == linux ]]; then
2828 sdk_file="arduino-$ARDUINO_SDK_VERSION-linux64.tar.xz"
@@ -32,10 +32,13 @@ before_install:
3232 - wget "https://downloads.arduino.cc/$sdk_file" -O "$sdk_file"
3333- |
3434 if [[ $TRAVIS_OS_NAME == linux ]]; then
35- tar xf "$sdk_file" --strip-components 1
35+ tar xf "$sdk_file" -C arduino-sdk - -strip-components 1
3636 else
37- unzip "$sdk_file"
37+ unzip "$sdk_file" -d arduino-sdk
3838 fi
39+ - ls -l "$sdk_path"
40+ - ls -l "$sdk_path/.."
41+ - ls -l "$sdk_path/../.."
3942- export ARDUINO_SDK_PATH="$sdk_path"
4043install :
4144- cd "$TRAVIS_BUILD_DIR"
You can’t perform that action at this time.
0 commit comments