Compare commits
1 Commits
b91130bce6
...
bfb51048fa
Author | SHA1 | Date |
---|---|---|
Antoine Bartuccio | bfb51048fa |
|
@ -1,16 +1,18 @@
|
|||
pipeline:
|
||||
build:
|
||||
image: golang
|
||||
image: golang:1.11
|
||||
group: build
|
||||
commands:
|
||||
- export GOPATH=/drone
|
||||
- go get -v -d ./...
|
||||
- go build .
|
||||
test:
|
||||
image: golang
|
||||
image: golang:1.11
|
||||
group: build
|
||||
secrets: [ test_api_token ]
|
||||
environment: [ test_api_token ]
|
||||
commands:
|
||||
- export GOPATH=/drone
|
||||
- go get -v -d ./...
|
||||
- go test ./...
|
||||
publish:
|
||||
|
|
Loading…
Reference in New Issue