update travis for autodeploy

This commit is contained in:
Noah Laptop 2019-11-07 09:41:27 -08:00
parent a0f74b19a3
commit 0ca631c627

View file

@ -35,8 +35,9 @@ script:
- arduino-cli compile --verbose --warnings all --fqbn $BOARD $PWD/examples/EthernetMultiHTTPS - arduino-cli compile --verbose --warnings all --fqbn $BOARD $PWD/examples/EthernetMultiHTTPS
before_deploy: before_deploy:
- mkdir src/$ARCH - mkdir src/$ARCH
- cp $(find /tmp/ -maxdepth 1 -type d -name "arduino-sketch*" -print)/libraries/SSLClient/SSLClient.a src/$ARCH/SSLClient.a - cp "$(find /tmp/ -maxdepth 1 -type d -name "arduino-sketch*" -print | head -n 1)/libraries/SSLClient/SSLClient.a" src/$ARCH/
- cp .travis/library.properties library.properties - cp .travis/library.properties .
- rm -rf .git
- find src/ -iname "*.c" -delete - find src/ -iname "*.c" -delete
- find src/ -iname "*.cpp" -delete - find src/ -iname "*.cpp" -delete
- zip -r SSLClient.zip . - zip -r SSLClient.zip .