|
|
@ -67,7 +67,7 @@ pipeline: |
|
|
|
image: golang:1.11 |
|
|
|
pull: true |
|
|
|
environment: |
|
|
|
TAGS: bindata sqlite |
|
|
|
TAGS: bindata sqlite sqlite_unlock_notify |
|
|
|
commands: |
|
|
|
- make clean |
|
|
|
- make generate |
|
|
@ -87,7 +87,7 @@ pipeline: |
|
|
|
pull: true |
|
|
|
group: test |
|
|
|
environment: |
|
|
|
TAGS: bindata sqlite |
|
|
|
TAGS: bindata sqlite sqlite_unlock_notify |
|
|
|
commands: |
|
|
|
- make unit-test-coverage |
|
|
|
when: |
|
|
@ -99,7 +99,7 @@ pipeline: |
|
|
|
pull: true |
|
|
|
group: test |
|
|
|
environment: |
|
|
|
TAGS: bindata sqlite |
|
|
|
TAGS: bindata sqlite sqlite_unlock_notify |
|
|
|
commands: |
|
|
|
- make test |
|
|
|
when: |
|
|
@ -117,17 +117,18 @@ pipeline: |
|
|
|
when: |
|
|
|
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: |
|
|
|
image: golang:1.11 |
|
|
@ -196,7 +197,7 @@ pipeline: |
|
|
|
image: karalabe/xgo-latest:latest |
|
|
|
pull: true |
|
|
|
environment: |
|
|
|
TAGS: bindata sqlite |
|
|
|
TAGS: bindata sqlite sqlite_unlock_notify |
|
|
|
commands: |
|
|
|
- export PATH=$PATH:$GOPATH/bin |
|
|
|
- make release |
|
|
|