1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-28 11:10:20 +02: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
No known key found for this signature in database
GPG Key ID: 5A388F55283960B6
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

File diff suppressed because one or more lines are too long