-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
635 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
language: rust | ||
sudo: required | ||
services: docker | ||
cache: cargo | ||
|
||
before_cache: | ||
- rm -rf "$TRAVIS_HOME/.cargo/registry/src" | ||
|
||
DEPLOY_TO_GITHUB: &DEPLOY_TO_GITHUB | ||
before_deploy: | ||
- git config --local user.name "Helium CI" | ||
- git config --local user.email "[email protected]" | ||
- name="virtual-lorawan-device-$TRAVIS_TAG-$TARGET" | ||
- mkdir $name | ||
- cp target/$TARGET/release/virtual-lorawan-device$EXE $name/ | ||
- cp LICENSE $name/ | ||
- cp README.md $name/ | ||
- zip -r $name.zip $name | ||
deploy: | ||
provider: releases | ||
api_key: $GITHUB_TOKEN | ||
file: virtual-lorawan-device-$TRAVIS_TAG-$TARGET.zip | ||
skip_cleanup: true | ||
on: | ||
branch: master | ||
tags: true | ||
|
||
matrix: | ||
include: | ||
- name: Linux Binary | ||
env: TARGET=x86_64-unknown-linux-gnu | ||
rust: stable | ||
before_script: | ||
- rustup target add $TARGET | ||
- rustup component add rustfmt | ||
- rustup component add clippy | ||
script: | ||
- cargo fmt -- --check | ||
- cargo build --release --target $TARGET --locked | ||
- cargo clippy -- --deny=clippy::all | ||
<<: *DEPLOY_TO_GITHUB | ||
|
||
- name: macOS Binary | ||
env: MACOSX_DEPLOYMENT_TARGET=10.7 TARGET=x86_64-apple-darwin | ||
os: osx | ||
rust: stable | ||
before_script: | ||
- rustup target add $TARGET | ||
- rustup component add rustfmt | ||
- rustup component add clippy | ||
script: | ||
- cargo fmt -- --check | ||
- cargo build --release --target $TARGET --locked | ||
- cargo clippy -- --deny=clippy::all | ||
<<: *DEPLOY_TO_GITHUB | ||
|
||
- name: Windows Binary | ||
env: TARGET=x86_64-pc-windows-gnu EXE=.exe | ||
rust: stable | ||
before_script: | ||
- rustup target add $TARGET | ||
- rustup component add rustfmt | ||
- rustup component add clippy | ||
script: | ||
- cargo fmt -- --check | ||
- RUSTFLAGS="-C linker=x86_64-w64-mingw32-gcc" cargo build --release --target $TARGET --locked | ||
- cargo clippy -- --deny=clippy::all | ||
<<: *DEPLOY_TO_GITHUB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!-- | ||
M.m.p (YYYY-MM-DD) | ||
================== | ||
Add a summary of this release. | ||
**BREAKING CHANGES**: | ||
* Some change which breaks API or ABI compatiblity with. | ||
Feature enhancements: | ||
* [Link to github PR](): | ||
A new feature. | ||
Bug fixes: | ||
* [Link to github PR](): | ||
A bugfix. | ||
--> | ||
0.1.0 (2020-06-02) | ||
================== | ||
Initial release: | ||
* Miner connection is optionally configurable via command line | ||
* device credentials and uplink rate defined via lorawan-device.json | ||
* tolerates ACK packets only | ||
* prints timeliness of Downlinks relative to RxWindow1 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.