aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/spf13/cobra/.travis.yml
blob: e0a3b50043bbc6548983ed87d2eb9c0b4e8f9a78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: go

stages:
  - test
  - build

go:
  - 1.12.x
  - 1.13.x
  - tip

env: GO111MODULE=on

before_install:
  - go get -u github.com/kyoh86/richgo
  - go get -u github.com/mitchellh/gox
  - curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin latest

matrix:
  allow_failures:
    - go: tip
  include:
    - stage: build
      go: 1.13.x
      script: make cobra_generator

script:
 - make test