Skip to content
This repository was archived by the owner on Apr 12, 2019. It is now read-only.

Commit 5ff1be1

Browse files
committed
Avoid running build/vet/clean twice
1 parent 30239f0 commit 5ff1be1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.drone.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@ clone:
1010
tags: true
1111

1212
pipeline:
13-
testing-git-latest:
13+
test-general:
1414
image: webhippie/golang:edge
1515
pull: true
1616
commands:
17-
- git update-ref refs/heads/test HEAD
1817
- make clean
1918
- make vet
2019
- make lint
21-
- git --version && make test
2220
- make build
21+
testing-git-latest:
22+
image: webhippie/golang:edge
23+
pull: true
24+
commands:
25+
- git update-ref refs/heads/test HEAD
26+
- git --version && make test
2327
testing-git-1.7:
2428
image: docker.kbt.io/gitea-git-ci:1.7
2529
pull: true
2630
commands:
27-
- git update-ref refs/heads/test HEAD
28-
- make clean
29-
- make vet
30-
- make lint
3131
- PATH=/opt/git-1.7.2/bin git --version && make test
3232

3333
# coverage:

0 commit comments

Comments
 (0)