From 889c62e3feae8c563764f45e41c09fa3d9ab7ee8 Mon Sep 17 00:00:00 2001 From: flyskype Date: Tue, 18 Dec 2018 14:38:59 +0800 Subject: [PATCH] first commit for drone --- .drone.yml | 8 ++++++++ hello.go | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 .drone.yml create mode 100644 hello.go diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..1f652ed --- /dev/null +++ b/.drone.yml @@ -0,0 +1,8 @@ +kind: pipeline +name: hellodrone + +steps: +- name: build hello.go + image: golang + commands: + - go build \ No newline at end of file diff --git a/hello.go b/hello.go new file mode 100644 index 0000000..aa465c2 --- /dev/null +++ b/hello.go @@ -0,0 +1,7 @@ +package main + +import "fmt" + +func main() { + fmt.Printf("hello, world\n") +} \ No newline at end of file