|
|
@ -55,6 +55,16 @@ pipeline: |
|
|
|
when: |
|
|
|
when: |
|
|
|
event: [ push, tag, pull_request ] |
|
|
|
event: [ push, tag, pull_request ] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
build-without-gcc: |
|
|
|
|
|
|
|
image: webhippie/golang:edge |
|
|
|
|
|
|
|
pull: true |
|
|
|
|
|
|
|
environment: |
|
|
|
|
|
|
|
GOPATH: /srv/app |
|
|
|
|
|
|
|
commands: |
|
|
|
|
|
|
|
- go build -o gitea_no_gcc # test if build succeeds without the sqlite tag |
|
|
|
|
|
|
|
when: |
|
|
|
|
|
|
|
event: [ push, tag, pull_request ] |
|
|
|
|
|
|
|
|
|
|
|
build: |
|
|
|
build: |
|
|
|
image: webhippie/golang:edge |
|
|
|
image: webhippie/golang:edge |
|
|
|
pull: true |
|
|
|
pull: true |
|
|
@ -73,16 +83,6 @@ pipeline: |
|
|
|
when: |
|
|
|
when: |
|
|
|
event: [ push, tag, pull_request ] |
|
|
|
event: [ push, tag, pull_request ] |
|
|
|
|
|
|
|
|
|
|
|
build-without-gcc: |
|
|
|
|
|
|
|
image: webhippie/golang:edge |
|
|
|
|
|
|
|
pull: true |
|
|
|
|
|
|
|
environment: |
|
|
|
|
|
|
|
GOPATH: /srv/app |
|
|
|
|
|
|
|
commands: |
|
|
|
|
|
|
|
- go build # test if build succeeds without the sqlite tag |
|
|
|
|
|
|
|
when: |
|
|
|
|
|
|
|
event: [ push, tag, pull_request ] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test: |
|
|
|
test: |
|
|
|
image: webhippie/golang:edge |
|
|
|
image: webhippie/golang:edge |
|
|
|
pull: true |
|
|
|
pull: true |
|
|
|