improve drone

This commit is contained in:
Lunny Xiao 2021-06-10 20:45:46 +08:00
parent 0a5ce27b18
commit 848b76a8e0
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 1 additions and 9 deletions

View File

@ -26,18 +26,10 @@ steps:
- test-vet - test-vet
commands: commands:
- make fmt-check - make fmt-check
- make test
- make test-sqlite3 - make test-sqlite3
- TEST_CACHE_ENABLE=true make test-sqlite3 - TEST_CACHE_ENABLE=true make test-sqlite3
- TEST_QUOTE_POLICY=reserved make test-sqlite3 - TEST_QUOTE_POLICY=reserved make test-sqlite3
- name: test-sqlite
image: golang:1.15
volumes:
- name: cache
path: /go/pkg/mod
depends_on:
- test-vet
commands:
- make test
- make test-sqlite - make test-sqlite
- TEST_CACHE_ENABLE=true make test-sqlite - TEST_CACHE_ENABLE=true make test-sqlite
- TEST_QUOTE_POLICY=reserved make test-sqlite - TEST_QUOTE_POLICY=reserved make test-sqlite