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