[efc635]: / .drone.yml  Maximize  Restore  History

Download this file

25 lines (24 with data), 433 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
kind: pipeline
name: default
workspace:
  base: /go
  path: src/github.com/yourname/go-drone-hello-world
steps:
  - name: test
    image: golang
    commands:
      - go get
      - 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