Closed
Description
Bug Report
Current behavior
I have a Travis CI setup which runs a build script with the following commands
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
./bin/arduino-cli core install arduino:avr
The first command succeeds with the following output:
Installing in /home/travis/build/jonathangjertsen/dht11/build/bin
ARCH=64bit
OS=Linux
Using curl as download tool
TAG=0.11.0
CLI_DIST=arduino-cli_0.11.0_Linux_64bit.tar.gz
Downloading https://downloads.arduino.cc/arduino-cli/arduino-cli_0.11.0_Linux_64bit.tar.gz
arduino-cli not found. You might want to add /home/travis/build/jonathangjertsen/dht11/build/bin to your $PATH
The second command fails with the following output:
Downloading missing tool builtin:ctags@5.8-arduino11...
builtin:ctags@5.8-arduino11 downloaded
Installing builtin:ctags@5.8-arduino11...
builtin:ctags@5.8-arduino11 installed
Downloading missing tool builtin:serial-discovery@1.0.0...
builtin:serial-discovery@1.0.0 downloaded
Installing builtin:serial-discovery@1.0.0...
builtin:serial-discovery@1.0.0 installed
Updating index: library_index.json downloaded
Error installing: There were errors loading platform indexes
Expected behavior
I would expect the installation to succeed, or at least to provide an actionable error message
Environment
- CLI version (output of
arduino-cli version
):arduino-cli Version: 0.11.0 Commit: 0296f4d
- OS and platform: Ubuntu 16.04.6 LTS, linux/amd64 (Docker)