Created
January 4, 2017 13:26
-
-
Save andresvia/995806bb1eaa7f290623a2050fc6d508 to your computer and use it in GitHub Desktop.
golang + drone full example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build: | |
construyendo_1: | |
image: golang | |
commands: | |
- go get ./... | |
- go test ./... | |
- go build -o miprograma | |
publish: | |
publicando_1: | |
image: plugins/drone-sftp | |
host: sftp.company.com | |
port: 2222 | |
username: user | |
password: pa$$word | |
files: | |
- miprograma |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
func main () { | |
println("hello wonderful world of go!") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment