Skip to content

Commit

Permalink
Update arduino-cli installation method in CI configuration (#24)
Browse files Browse the repository at this point in the history
The arduino-cli binary filename was changed, which broke CI builds:

mv: cannot stat ‘arduino-cli-*-linux64’: No such file or directory
  • Loading branch information
aentinger authored Mar 5, 2020
1 parent 018965e commit d69689d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d69689d

Please sign in to comment.