workspace:
  base: /go
  path: src/github.com/laszlocph/drone-oss-08/cncd/pipeline

pipeline:
  install:
    image: golang:1.8
    commands:
      - go install github.com/laszlocph/drone-oss-08/cncd/pipeline/pipec
      - go install github.com/laszlocph/drone-oss-08/cncd/pipeline/piped

  test:
    image: golang:1.8
    commands:
      - go test -cover github.com/laszlocph/drone-oss-08/cncd/pipeline/...
