aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
blob: f73de6fe767436fea889ca4df0def38f1fc14a54 (plain)
1
2
3
4
5
6
7
8
9
10
11
kind: pipeline
name: default
steps:
    - name: test
      image: "golang:alpine"
      commands:
          - go get -u github.com/mattn/go-sqlite3
          - go install 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)