summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorMura Li <typeless@users.noreply.github.com>2018-10-23 19:47:59 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2018-10-23 19:47:59 +0800
commit25c49cf930cb0add769c5596a7317ada1c5f9da7 (patch)
treeaa416e3bf7644875738945935fbceb5b50fe0510 /.drone.yml
parent2ce72d4e00cc7d2dbf3c445eb18c252c73f605e3 (diff)
downloadgitea-25c49cf930cb0add769c5596a7317ada1c5f9da7.tar.gz
gitea-25c49cf930cb0add769c5596a7317ada1c5f9da7.zip
Update build tags for sqlite_unlock_notify (#5144)
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml31
1 files changed, 16 insertions, 15 deletions
diff --git a/.drone.yml b/.drone.yml
index e4ade4fc1c..682797105e 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -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