summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorThomas Boerger <thomas@webhippie.de>2016-12-04 23:55:09 +0100
committerThomas Boerger <tboerger@suse.de>2016-12-05 14:34:55 +0100
commit8a28130540665ff21b704189b200bca12e72b053 (patch)
treefaa71087a39fd28d6c1de83770e3c1a8d3844be8 /.drone.yml
parente52b24ad5d4f8aae6bb767f8f1b2bb6a2f3dd766 (diff)
downloadgitea-8a28130540665ff21b704189b200bca12e72b053.tar.gz
gitea-8a28130540665ff21b704189b200bca12e72b053.zip
Fixed build tags and deps for all build/test steps
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml33
1 files changed, 23 insertions, 10 deletions
diff --git a/.drone.yml b/.drone.yml
index f99a9e4134..251463ed61 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -8,9 +8,10 @@ pipeline:
pull: true
environment:
CGO_ENABLED: 1
- TAGS: sqlite tidb pam
+ TAGS: sqlite
+ GOPATH: /srv/app
commands:
- - apk -U add linux-pam-dev openssh-client
+ - apk -U add openssh-client
- make clean
- make vet
- make lint
@@ -22,34 +23,46 @@ pipeline:
test-mysql:
image: webhippie/golang:edge
pull: true
+ environment:
+ CGO_ENABLED: 1
+ TAGS: sqlite
+ GOPATH: /srv/app
commands:
- - make test-mysql
+ - make test-mysql
when:
event: [ push ]
test-pgsql:
image: webhippie/golang:edge
pull: true
+ environment:
+ CGO_ENABLED: 1
+ TAGS: sqlite
+ GOPATH: /srv/app
commands:
- - make test-pgsql
+ - make test-pgsql
when:
event: [ push ]
- coverage:
- image: plugins/coverage
- server: https://coverage.gitea.io
- when:
- event: [ push, tag, pull_request ]
-
updater:
image: karalabe/xgo-latest:latest
pull: true
+ environment:
+ CGO_ENABLED: 1
+ TAGS: sqlite
+ GOPATH: /srv/app
commands:
- make release
when:
event: [ push, tag ]
branch: [ master, refs/tags/* ]
+ coverage:
+ image: plugins/coverage
+ server: https://coverage.gitea.io
+ when:
+ event: [ push, tag, pull_request ]
+
docker:
image: plugins/docker
repo: gitea/gitea