]> git.immae.eu Git - github/fretlink/terraform-provider-mailgun.git/blob - .travis.yml
cc6e6c73e5f7a67e76574d2e0d21ef2330028341
[github/fretlink/terraform-provider-mailgun.git] / .travis.yml
1 dist: trusty
2 sudo: required
3 services:
4 - docker
5 language: go
6 go:
7 - "1.12.x"
8 - "1.11.x"
9
10 install:
11 # This script is used by the Travis build to install a cookie for
12 # go.googlesource.com so rate limits are higher when using `go get` to fetch
13 # packages that live there.
14 # See: https://github.com/golang/go/issues/12933
15 - bash scripts/gogetcookie.sh
16
17 script:
18 - make test
19 - make vet
20 - make website-test
21 - make shellcheck
22 - make website-githubpages
23
24 deploy:
25 provider: pages
26 skip_cleanup: true
27 github_token: $GITHUB_TOKEN
28 target_branch: gh-pages
29 keep_history: true
30 local_dir: terraform-provider-website
31 on:
32 all_branches: true
33
34 matrix:
35 fast_finish: true
36 allow_failures:
37 - go: tip
38
39 cache:
40 directories:
41 - $HOME/.cache/go-build
42 - $HOME/gopath/pkg/mod
43
44 env:
45 matrix:
46 - GO111MODULE=on