Skip to content

Commit 9a7cb34

Browse files
committed
Replace TravisCI by CircleCI.
1 parent 9cb3787 commit 9a7cb34

File tree

2 files changed

+42
-26
lines changed

2 files changed

+42
-26
lines changed

.circleci/config.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
version: 2
2+
jobs:
3+
test:
4+
machine:
5+
image: circleci/classic:latest
6+
7+
steps:
8+
- checkout
9+
- run:
10+
name: run tests
11+
command: docker-compose run --rm packetmultiplexer make test
12+
13+
deploy:
14+
machine:
15+
image: circleci/classic:latest
16+
17+
steps:
18+
- checkout
19+
- run:
20+
name: compile distributable binaries
21+
command: docker-compose run --rm packetmultiplexer make dist
22+
- run:
23+
name: upload binaries to s3
24+
command: aws s3 sync dist/upload s3://builds.loraserver.io/lora-packet-multiplexer
25+
26+
workflows:
27+
version: 2
28+
test-and-deploy:
29+
jobs:
30+
- test:
31+
filters:
32+
tags:
33+
only: /.*/
34+
- deploy:
35+
requires:
36+
- test
37+
filters:
38+
tags:
39+
only: /^v.*/
40+
branches:
41+
ignore: /.*/
42+

.travis.yml

-26
This file was deleted.

0 commit comments

Comments
 (0)