diff options
Diffstat (limited to '.drone.yml')
| -rw-r--r-- | .drone.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..0e5ed0f --- /dev/null +++ b/.drone.yml @@ -0,0 +1,11 @@ +kind: pipeline +name: default +steps: + - name: test + image: "golang:alpine" + commands: + - go get -u $(FLAGS) github.com/mattn/go-sqlite3 + - go install $(FLAGS) github.com/mattn/go-sqlite3 + - for file in $$(find . -name 'vendor' -prune -o -type f -name '*.go'); do golint $$file; done + - go test -race -short -coverprofile=coverage.txt -covermode=atomic ./... + - bash <(curl -s https://codecov.io/bash) |
