drone.io不使用GitHub repo的.drone.yml文件

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:

enter image description here

And when I click the build button it shows me that the project was successfully "build":

enter image description here

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. :)

https://drone.io/ - doesn't support .drone.yml file, this file supported by https://github.com/drone/drone

If you want to use a .drone.yml you are forced to host drone on your own.