Browse Source

fix drone ci

master
Gisle Aune 4 years ago
parent
commit
ad3c096ed9
  1. 17
      .drone.yml

17
.drone.yml

@ -7,13 +7,28 @@ workspace:
path: irc/ path: irc/
pipeline: pipeline:
test-1.8:
image: golang:1.8
commands:
- mkdir -p /go/src/github.com/gissleh/
- mv /project/irc /go/src/github.com/gissleh/
- cd /go/src/github.com/gissleh/irc/
- go test ./... -v
- go test -bench ./...
test-1.9:
image: golang:1.9
commands:
- mkdir -p /go/src/github.com/gissleh/
- mv /project/irc /go/src/github.com/gissleh/
- cd /go/src/github.com/gissleh/irc/
- go test ./... -v
- go test -bench ./...
test-1.10: test-1.10:
image: golang:1.10 image: golang:1.10
commands: commands:
- mkdir -p /go/src/github.com/gissleh/ - mkdir -p /go/src/github.com/gissleh/
- mv /project/irc /go/src/github.com/gissleh/ - mv /project/irc /go/src/github.com/gissleh/
- cd /go/src/github.com/gissleh/irc/ - cd /go/src/github.com/gissleh/irc/
- go get github.com/stretchr/testify/assert
- go test ./... -v - go test ./... -v
- go test -bench ./... - go test -bench ./...
test-1.11: test-1.11:

Loading…
Cancel
Save