David 4 роки тому
джерело
коміт
a9708aba26
1 змінених файлів з 15 додано та 25 видалено
  1. +15
    -25
      .drone.yml

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

Завантаження…
Відмінити
Зберегти