Skip to content

Commit 08e9410

Browse files
author
lijianguo
committed
chore(CICD): use drone
1 parent a04f9df commit 08e9410

2 files changed

Lines changed: 42 additions & 13 deletions

File tree

.drone/drone.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
kind: pipeline
2+
type: docker
3+
name: linux-amd64
4+
5+
platform:
6+
arch: amd64
7+
os: linux
8+
9+
steps:
10+
- name: test
11+
image: docker.io/drycc/go-dev
12+
pull: if-not-exists
13+
privileged: true
14+
commands:
15+
- make bootstrap test
16+
environment:
17+
VERSION: ${DRONE_TAG:-latest}-linux-amd64
18+
DEV_REGISTRY: ${DEV_REGISTRY:-docker.io}
19+
DRYCC_REGISTRY: ${DRYCC_REGISTRY:-docker.io}
20+
when:
21+
event:
22+
- push
23+
- tag
24+
- pull_request
25+
26+
- name: codecov
27+
image: docker.io/drycc/go-dev
28+
pull: if-not-exists
29+
commands:
30+
- curl -s https://codecov.io/bash | bash
31+
environment:
32+
CODECOV_TOKEN:
33+
from_secret: codecov_token
34+
when:
35+
status:
36+
- success
37+
38+
trigger:
39+
event:
40+
- push
41+
- tag
42+
- pull_request

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)