-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
2 changed files
with
42 additions
and
26 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,42 @@ | ||
version: 2 | ||
jobs: | ||
test: | ||
machine: | ||
image: circleci/classic:latest | ||
|
||
steps: | ||
- checkout | ||
- run: | ||
name: run tests | ||
command: docker-compose run --rm packetmultiplexer make test | ||
|
||
deploy: | ||
machine: | ||
image: circleci/classic:latest | ||
|
||
steps: | ||
- checkout | ||
- run: | ||
name: compile distributable binaries | ||
command: docker-compose run --rm packetmultiplexer make dist | ||
- run: | ||
name: upload binaries to s3 | ||
command: aws s3 sync dist/upload s3://builds.loraserver.io/lora-packet-multiplexer | ||
|
||
workflows: | ||
version: 2 | ||
test-and-deploy: | ||
jobs: | ||
- test: | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- deploy: | ||
requires: | ||
- test | ||
filters: | ||
tags: | ||
only: /^v.*/ | ||
branches: | ||
ignore: /.*/ | ||
|
This file was deleted.
Oops, something went wrong.