attempted to add autocompile and deploy feature
This commit is contained in:
parent
6012a3e5ba
commit
a0f74b19a3
2 changed files with 27 additions and 7 deletions
14
.travis.yml
14
.travis.yml
|
@ -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"
|
||||||
|
file: "SSLClient.zip"
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
branch: develop
|
branch: master
|
||||||
condition: $DEPLOY = 1
|
condition: $DEPLOY = 1
|
||||||
|
|
12
.travis/library.properties
Normal file
12
.travis/library.properties
Normal 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
|
Loading…
Reference in a new issue