travis ci: check cached libraries
MODIFY
.travis.yml
.travis.yml
@@ -23,7 +23,7 @@ before_install:
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/platform_check_only_if_file/install.sh)
install:
- - ./arduino_library_install
+ - ./arduino_libinstall
- pip install --force-reinstall pylint==1.9.2
script:

RENAME
arduino_library_install
arduino_libinstall
#!/bin/bash
+echo "Cached Arduino libraries:"
+ls -l "$HOME/Arduino/libraries"
+
+echo "Installing libraries:"
[ ! -d $HOME/Arduino/libraries/FastLED ] && arduino --install-library "FastLED"
[ ! -d $HOME/Arduino/libraries/MIDIUSB ] && arduino --install-library "MIDIUSB"
[ ! -d $HOME/Arduino/libraries/TinyWireM ] && arduino --install-library "TinyWireM"

travis ci: check cached libraries