github.com/torresashjian/cli@v0.10.1-0.20210916231452-89080fe7069c/.travis.yml (about)

     1  language: go
     2  go:
     3    - 1.12.x
     4  os:
     5    - linux
     6  env:
     7    - GO111MODULE=on
     8  install: skip
     9  script:
    10    - GO111MODULE=off go get ./... # to populate $GOPATH/src for tests
    11    - go build ./...
    12    - go test ./...
    13  deploy:
    14  - provider: script
    15    skip_cleanup: true
    16    script: curl -sL https://git.io/goreleaser | bash
    17    on:
    18      tags: true
    19      condition: $TRAVIS_OS_NAME = linux