update drone

This commit is contained in:
Lunny Xiao 2019-06-20 11:36:10 +08:00
parent bd33298550
commit 7d1d621d68
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 10 additions and 0 deletions

View File

@ -30,3 +30,13 @@ pipeline:
- go test -v -race -coverprofile=coverage.txt -covermode=atomic - go test -v -race -coverprofile=coverage.txt -covermode=atomic
when: when:
event: [ push, tag, pull_request ] event: [ push, tag, pull_request ]
services:
mysql:
image: mysql:5.7
environment:
- MYSQL_DATABASE=core_test
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
when:
event: [ push, tag, pull_request ]