mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
Install necessary libraries during travis build
This commit is contained in:
parent
25e03530a2
commit
e5f9bec4ed
@ -24,6 +24,8 @@ script:
|
||||
- which arduino
|
||||
- source hardware/esp8266com/esp8266/tests/common.sh
|
||||
- arduino --board esp8266com:esp8266:generic --save-prefs
|
||||
- arduino --get-pref sketchbook.path
|
||||
- install_libraries
|
||||
- build_sketches arduino $PWD/hardware/esp8266com/esp8266
|
||||
|
||||
notifications:
|
||||
|
@ -20,3 +20,13 @@ function build_sketches()
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
function install_libraries()
|
||||
{
|
||||
pushd libraries
|
||||
|
||||
# install ArduinoJson library
|
||||
wget https://github.com/bblanchon/ArduinoJson/releases/download/v4.6.1/ArduinoJson-v4.6.1.zip && unzip ArduinoJson-v4.6.1.zip
|
||||
|
||||
popd
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user