attempted to add autocompile and deploy feature

This commit is contained in:
Noah Laptop 2019-11-06 16:36:07 -08:00
parent 6012a3e5ba
commit a0f74b19a3
2 changed files with 27 additions and 7 deletions

View file

@ -33,12 +33,20 @@ install:
script: script:
- arduino-cli compile --verbose --warnings all --fqbn $BOARD $PWD/examples/EthernetHTTPS - arduino-cli compile --verbose --warnings all --fqbn $BOARD $PWD/examples/EthernetHTTPS
- arduino-cli compile --verbose --warnings all --fqbn $BOARD $PWD/examples/EthernetMultiHTTPS - arduino-cli compile --verbose --warnings all --fqbn $BOARD $PWD/examples/EthernetMultiHTTPS
before_deploy:
- mkdir src/$ARCH
- cp $(find /tmp/ -maxdepth 1 -type d -name "arduino-sketch*" -print)/libraries/SSLClient/SSLClient.a src/$ARCH/SSLClient.a
- cp .travis/library.properties library.properties
- find src/ -iname "*.c" -delete
- find src/ -iname "*.cpp" -delete
- zip -r SSLClient.zip .
deploy: deploy:
- provider: script provider: releases
script: bash .travis/upload_precompiled.sh api_key: "$GITHUB_TOKEN"
skip_cleanup: true file: "SSLClient.zip"
on: skip_cleanup: true
tags: true on:
branch: develop tags: true
condition: $DEPLOY = 1 branch: master
condition: $DEPLOY = 1

View file

@ -0,0 +1,12 @@
name=SSLClient
version=1.3.0
author=Noah Koontz <koontzn@oregonstate.edu>
maintainer=OPEnS Lab
sentence=Arduino library to add SSL functionality to any Client class
paragraph=including the Arduino EthernetClient and WiFiClient classes (though it is better to prefer WiFClient.connectSSL if implemented). In other words, SSLClient implements encrypted communication through SSL on devices that do not otherwise support it.
category=Communication
url=https://github.com/OPEnSLab-OSU/SSLClient
architectures=samd
includes=SSLClient.h
precompiled=true
ldflags=-lSSLClient