From a9708aba2665ae2c46f7ec1f7f10ccf80a148401 Mon Sep 17 00:00:00 2001 From: David Wurm Date: Fri, 7 Feb 2020 18:02:15 +0100 Subject: [PATCH] changed yml --- .drone.yml | 40 +++++++++++++++------------------------- 1 file changed, 15 insertions(+), 25 deletions(-) diff --git a/.drone.yml b/.drone.yml index af801bb..8b2cbaa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,33 +6,23 @@ workspace: path: src/git.techniknews.net/David/TechnikNews_CI-Test steps: - - name: report + - name: test image: golang - volumes: - - name: reports - path: /var/reports commands: - - mkdir -p /var/reports - go get - - go get github.com/360EntSecGroup-Skylar/goreporter - - goreporter -p ./ -f html -r /var/reports/ + - go test -# - name: build -# image: golang -# commands: -# - go get -# - go build -o output -# - chmod +x output -# -# - name: run -# image: golang -# commands: -# - go get -# - go build -o output -# - chmod +x output -# - ./output + - name: build + image: golang + commands: + - go get + - go build -o output + - chmod +x output -volumes: - - name: reports - host: - path: /home/dev/work/src/github.com/cyantarek/drone-go-git-test/reports \ No newline at end of file + - name: run + image: golang + commands: + - go get + - go build -o output + - chmod +x output + - ./output \ No newline at end of file