I have a problem with the CI tool drone. At the Moment I'm using drone.io and with the selft-hosted version I have the same issue. When I try to build my golang test application drone.io always ignores my .drone.yml file.
The GitHub repo is: https://github.com/norbell/dronetest
My .drone.yml file looks like this:
pipeline:
build:
image: golang:1.6
commands:
- go get
- go build
And the settings page of my drone.io project looks like this:
And when I click the build button it shows me that the project was successfully "build":
Obviously does everything but not building my project. I have done everything I found in the documentation but I can't get it working.
When I put go get
and go build
or go run main.go
into the "commands" textarea field of the settings page, drone is suddenly able to build my go application.
I'm not sure what I'm doing wrong, so it would be very nice if someone could help me. :)