diff options
author | Alexandre Garand <alexandre.garand@fretlink.com> | 2019-07-04 14:34:42 +0200 |
---|---|---|
committer | Alexandre Garand <alexandre.garand@fretlink.com> | 2019-07-04 18:16:41 +0200 |
commit | 7c735cfa47853c88a53753173ccf56e364295f27 (patch) | |
tree | 8a9eaec4fdbc35ddfa0b371316d049e1ee9b291d /.travis.yml | |
parent | 80e82d1365343acdd54bca9e1c94dfe03b913600 (diff) | |
download | terraform-provider-mailgun-7c735cfa47853c88a53753173ccf56e364295f27.tar.gz terraform-provider-mailgun-7c735cfa47853c88a53753173ccf56e364295f27.tar.zst terraform-provider-mailgun-7c735cfa47853c88a53753173ccf56e364295f27.zip |
add travis, go.mod and vendor/ in order to have automatic testing
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8054364 --- /dev/null +++ b/.travis.yml | |||
@@ -0,0 +1,26 @@ | |||
1 | dist: trusty | ||
2 | sudo: required | ||
3 | services: | ||
4 | - docker | ||
5 | language: go | ||
6 | go: | ||
7 | - "1.12.x" | ||
8 | |||
9 | install: | ||
10 | # This script is used by the Travis build to install a cookie for | ||
11 | # go.googlesource.com so rate limits are higher when using `go get` to fetch | ||
12 | # packages that live there. | ||
13 | # See: https://github.com/golang/go/issues/12933 | ||
14 | - bash scripts/gogetcookie.sh | ||
15 | |||
16 | script: | ||
17 | - make test | ||
18 | - make vet | ||
19 | - make website-test | ||
20 | |||
21 | matrix: | ||
22 | fast_finish: true | ||
23 | allow_failures: | ||
24 | - go: tip | ||
25 | env: | ||
26 | GO111MODULE=on | ||