summaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml9
1 files changed, 3 insertions, 6 deletions
diff --git a/.drone.yml b/.drone.yml
index 63605f2d6..ec1a6aa85 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -31,12 +31,9 @@ steps:
volumes:
- name: go-build-cache
path: /root/.cache/go-build
- environment:
- GTS_DB_ADDRESS: postgres
commands:
- # `-p 1` => run maximum one test at a time
- # `./...` => run all tests
- - go test -p 1 ./...
+ - GTS_DB_TYPE="sqlite" GTS_DB_ADDRESS=":memory:" go test -count 1 -p 1 ./...
+ - GTS_DB_TYPE="postgres" GTS_DB_ADDRESS="postgres" go test -count 1 -p 1 ./...
when:
event:
include:
@@ -85,6 +82,6 @@ trigger:
---
kind: signature
-hmac: 268d484fd9c5d14834a3e2a1e39cfe605c3898d601d2969dba5c2e11c1ea2f3b
+hmac: 764ac2de691c436bd86c6cc94b862cde2b5558e4de65ff68bb0d227de1736783
...