diff --git a/.drone.yml b/.drone.yml index f255336..7629c3a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,6 +4,13 @@ pipeline: commands: - go get -v -d ./... - go build . + test: + image: golang + secrets: [ test_api_token ] + environment: [ test_api_token ] + commands: + - go get -v -d ./... + - go test ./... publish: image: plugins/docker repo: klmp200/alfred diff --git a/alfred_test.go b/alfred_test.go new file mode 100644 index 0000000..8c3dfdc --- /dev/null +++ b/alfred_test.go @@ -0,0 +1,8 @@ +/* +* @Author: Bartuccio Antoine +* @Date: 2018-07-23 17:48:18 +* @Last Modified by: klmp200 +* @Last Modified time: 2018-07-23 17:48:22 + */ + +package main