fix drone ci
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-07-20 18:44:32 +02:00
parent a0dcd005f4
commit ad3c096ed9
+16 -1
View File
@@ -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: