Skip to content

Commit

Permalink
Replace TravisCI by CircleCI.
Browse files Browse the repository at this point in the history
  • Loading branch information
brocaar committed May 17, 2019
1 parent 9cb3787 commit 9a7cb34
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 26 deletions.
42 changes: 42 additions & 0 deletions .circleci/config.yml
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: /.*/

26 changes: 0 additions & 26 deletions .travis.yml

This file was deleted.

0 comments on commit 9a7cb34

Please sign in to comment.