From d69689d9411fee71f4c67c589effa1cca6165b2b Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Thu, 5 Mar 2020 09:48:49 +0100 Subject: [PATCH] Update arduino-cli installation method in CI configuration (#24) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The arduino-cli binary filename was changed, which broke CI builds: mv: cannot stat ‘arduino-cli-*-linux64’: No such file or directory --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index fc4ef18..9e2425f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,10 +5,8 @@ env: matrix: - BOARD="arduino:samd:mkrnb1500" before_install: - - wget http://downloads.arduino.cc/arduino-cli/arduino-cli-$CLI_VERSION-linux64.tar.bz2 - - tar xf arduino-cli-$CLI_VERSION-linux64.tar.bz2 - - mkdir -p $HOME/bin - - mv arduino-cli-*-linux64 $HOME/bin/arduino-cli + - mkdir -p "$HOME/bin" + - curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR="$HOME/bin" sh - export PATH=$PATH:$HOME/bin - arduino-cli core update-index - if [[ "$BOARD" =~ "arduino:samd:" ]]; then