dist: trusty sudo: required services: - docker language: go go: - "1.12.x" - "1.11.x" install: # This script is used by the Travis build to install a cookie for # go.googlesource.com so rate limits are higher when using `go get` to fetch # packages that live there. # See: https://github.com/golang/go/issues/12933 - bash scripts/gogetcookie.sh script: - make test - make vet - make website-test - make shellcheck - make website-githubpages deploy: provider: pages skip_cleanup: true github_token: $GITHUB_TOKEN target_branch: gh-pages keep_history: true local_dir: terraform-provider-website on: all_branches: true matrix: fast_finish: true allow_failures: - go: tip cache: directories: - $HOME/.cache/go-build - $HOME/gopath/pkg/mod env: matrix: - GO111MODULE=on