Compare commits

...

1 Commits

Author SHA1 Message Date
Antoine Bartuccio b91130bce6 Fix CI for go 1.11
the build failed Details
2019-01-04 11:28:23 +01:00
1 changed files with 6 additions and 2 deletions

View File

@ -1,16 +1,20 @@
pipeline: pipeline:
build: build:
image: golang image: golang:1.11
group: build group: build
commands: commands:
- export GOPATH=/drone
- go get -v -d ./... - go get -v -d ./...
- go build . - go build .
test: test:
image: golang image: golang:1.11
group: build group: build
secrets: [ test_api_token ] secrets: [ test_api_token ]
environment: [ test_api_token ] environment: [ test_api_token ]
commands: commands:
- mkdir -p $GOPATH/src/git.klmp200.net/ALFRED/ALFRED
- mv . /$GOPATH/src/git.klmp200.net/ALFRED/ALFRED
- cd $GOPATH/src/git.klmp200.net/ALFRED/ALFRED
- go get -v -d ./... - go get -v -d ./...
- go test ./... - go test ./...
publish: publish: