1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-02 08:57:32 -04: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

View File

@ -1 +1 @@
eyJhbGciOiJIUzI1NiJ9.d29ya3NwYWNlOgogIGJhc2U6IC9zcnYvYXBwCiAgcGF0aDogc3JjL2NvZGUuZ2l0ZWEuaW8vZ2l0ZWEKCnBpcGVsaW5lOgogIHRlc3Q6CiAgICBpbWFnZTogd2ViaGlwcGllL2dvbGFuZzplZGdlCiAgICBwdWxsOiB0cnVlCiAgICBlbnZpcm9ubWVudDoKICAgICAgQ0dPX0VOQUJMRUQ6IDEKICAgICA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