1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-03 16:18:36 +00:00

Fixed build tags and deps for all build/test steps

This commit is contained in:
Thomas Boerger
2016-12-04 23:55:09 +01:00
committed by Thomas Boerger
parent e52b24ad5d
commit 8a28130540
2 changed files with 27 additions and 14 deletions

View File

@@ -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 ]
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 ]
updater:
image: karalabe/xgo-latest:latest
pull: true
commands:
- make release
when:
event: [ push, tag ]
branch: [ master, refs/tags/* ]
docker:
image: plugins/docker
repo: gitea/gitea