No Description

.drone.yml 356B

1234567891011
  1. pipeline:
  2. build:
  3. image: golang
  4. commands:
  5. - apt-get -y install curl
  6. - export GOPATH=$PWD:$PWD/vendor
  7. - go test -cover -coverprofile coverage.out
  8. - GOOS=linux GOARCH=amd64 go build -o hoptocopter_linux
  9. - curl -XPOST 'http://esheavyindustries.com:8080/upload?repo=hoptocopter_git' -F "file=@coverage.out"