github.com/peterbale/terraform@v0.9.0-beta2.0.20170315142748-5723acd55547/.travis.yml (about)

     1  dist: trusty
     2  sudo: false
     3  language: go
     4  go:
     5  - 1.8
     6  
     7  env:
     8    - CONSUL_VERSION=0.7.5 TF_CONSUL_TEST=1
     9  
    10  # Fetch consul for the backend and provider tests
    11  before_install:
    12    - curl -sLo consul.zip https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip
    13    - unzip consul.zip
    14    - mkdir ~/bin
    15    - mv consul ~/bin
    16    - export PATH="~/bin:$PATH"
    17  
    18  install:
    19  # This script is used by the Travis build to install a cookie for
    20  # go.googlesource.com so rate limits are higher when using `go get` to fetch
    21  # packages that live there.
    22  # See: https://github.com/golang/go/issues/12933
    23  - bash scripts/gogetcookie.sh
    24  - go get github.com/kardianos/govendor
    25  script:
    26  - make vet vendor-status test
    27  - GOOS=windows go build
    28  branches:
    29    only:
    30    - master
    31  notifications:
    32    irc:
    33      channels:
    34      - irc.freenode.org#terraform-tool
    35      skip_join: true
    36      use_notice: true
    37  matrix:
    38    fast_finish: true
    39    allow_failures:
    40    - go: tip