Browse Source

changed yml

master
David 2 years ago
parent
commit
a9708aba26
1 changed files with 15 additions and 25 deletions
  1. +15
    -25
      .drone.yml

+ 15
- 25
.drone.yml View File

@@ -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
- name: run
image: golang
commands:
- go get
- go build -o output
- chmod +x output
- ./output

Loading…
Cancel
Save