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

This commit is contained in:
2020-07-20 18:52:30 +02:00
parent 20d486e253
commit e9610db978
+8 -7
View File
@@ -3,8 +3,8 @@ kind: pipeline
type: exec type: exec
workspace: workspace:
base: /go base: /project
path: ../project/irc/ path: irc/
pipeline: pipeline:
test-1.14: test-1.14:
@@ -31,26 +31,27 @@ pipeline:
- go mod download - go mod download
- go test ./... -v - go test ./... -v
- go test -bench ./... - go test -bench ./...
move-into-gopath:
image: golang:1.8
commands:
- mkdir -p /go/src/github.com/gissleh/
- mv /project/irc /go/src/github.com/gissleh/
test-1.10: test-1.10:
image: golang:1.10 image: golang:1.10
commands: commands:
- mkdir -p /go/src/github.com/gissleh/
- ln -s . /go/src/github.com/gissleh/irc/
- cd /go/src/github.com/gissleh/irc/ - cd /go/src/github.com/gissleh/irc/
- go test ./... -v - go test ./... -v
- go test -bench ./... - go test -bench ./...
test-1.9: test-1.9:
image: golang:1.9 image: golang:1.9
commands: commands:
- mkdir -p /go/src/github.com/gissleh/
- ln -s . /go/src/github.com/gissleh/irc/
- cd /go/src/github.com/gissleh/irc/ - cd /go/src/github.com/gissleh/irc/
- go test ./... -v - go test ./... -v
- go test -bench ./... - go test -bench ./...
test-1.8: test-1.8:
image: golang:1.8 image: golang:1.8
commands: commands:
- mkdir -p /go/src/github.com/gissleh/
- ln -s . /go/src/github.com/gissleh/irc/
- cd /go/src/github.com/gissleh/irc/ - cd /go/src/github.com/gissleh/irc/
- go test ./... -v - go test ./... -v
- go test -bench ./... - go test -bench ./...