|
@ -67,7 +67,7 @@ pipeline: |
|
|
image: golang:1.11 |
|
|
image: golang:1.11 |
|
|
pull: true |
|
|
pull: true |
|
|
environment: |
|
|
environment: |
|
|
TAGS: bindata sqlite |
|
|
|
|
|
|
|
|
TAGS: bindata sqlite sqlite_unlock_notify |
|
|
commands: |
|
|
commands: |
|
|
- make clean |
|
|
- make clean |
|
|
- make generate |
|
|
- make generate |
|
@ -87,7 +87,7 @@ pipeline: |
|
|
pull: true |
|
|
pull: true |
|
|
group: test |
|
|
group: test |
|
|
environment: |
|
|
environment: |
|
|
TAGS: bindata sqlite |
|
|
|
|
|
|
|
|
TAGS: bindata sqlite sqlite_unlock_notify |
|
|
commands: |
|
|
commands: |
|
|
- make unit-test-coverage |
|
|
- make unit-test-coverage |
|
|
when: |
|
|
when: |
|
@ -99,7 +99,7 @@ pipeline: |
|
|
pull: true |
|
|
pull: true |
|
|
group: test |
|
|
group: test |
|
|
environment: |
|
|
environment: |
|
|
TAGS: bindata sqlite |
|
|
|
|
|
|
|
|
TAGS: bindata sqlite sqlite_unlock_notify |
|
|
commands: |
|
|
commands: |
|
|
- make test |
|
|
- make test |
|
|
when: |
|
|
when: |
|
@ -117,17 +117,18 @@ pipeline: |
|
|
when: |
|
|
when: |
|
|
event: [ tag ] |
|
|
event: [ tag ] |
|
|
|
|
|
|
|
|
# Commented until db locking have been resolved! |
|
|
|
|
|
# test-sqlite: |
|
|
|
|
|
# image: golang:1.10 |
|
|
|
|
|
# pull: true |
|
|
|
|
|
# group: test |
|
|
|
|
|
# environment: |
|
|
|
|
|
# TAGS: bindata |
|
|
|
|
|
# commands: |
|
|
|
|
|
# - make test-sqlite |
|
|
|
|
|
# when: |
|
|
|
|
|
# event: [ push, tag, pull_request ] |
|
|
|
|
|
|
|
|
test-sqlite: |
|
|
|
|
|
image: golang:1.11 |
|
|
|
|
|
pull: true |
|
|
|
|
|
group: test |
|
|
|
|
|
environment: |
|
|
|
|
|
TAGS: bindata |
|
|
|
|
|
commands: |
|
|
|
|
|
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash |
|
|
|
|
|
- apt-get install -y git-lfs |
|
|
|
|
|
- make test-sqlite |
|
|
|
|
|
when: |
|
|
|
|
|
event: [ push, tag, pull_request ] |
|
|
|
|
|
|
|
|
test-mysql: |
|
|
test-mysql: |
|
|
image: golang:1.11 |
|
|
image: golang:1.11 |
|
@ -196,7 +197,7 @@ pipeline: |
|
|
image: karalabe/xgo-latest:latest |
|
|
image: karalabe/xgo-latest:latest |
|
|
pull: true |
|
|
pull: true |
|
|
environment: |
|
|
environment: |
|
|
TAGS: bindata sqlite |
|
|
|
|
|
|
|
|
TAGS: bindata sqlite sqlite_unlock_notify |
|
|
commands: |
|
|
commands: |
|
|
- export PATH=$PATH:$GOPATH/bin |
|
|
- export PATH=$PATH:$GOPATH/bin |
|
|
- make release |
|
|
- make release |
|
|