aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorAlexandre Garand <alexandre.garand@fretlink.com>2019-07-04 14:34:42 +0200
committerAlexandre Garand <alexandre.garand@fretlink.com>2019-07-04 18:16:41 +0200
commit7c735cfa47853c88a53753173ccf56e364295f27 (patch)
tree8a9eaec4fdbc35ddfa0b371316d049e1ee9b291d /.travis.yml
parent80e82d1365343acdd54bca9e1c94dfe03b913600 (diff)
downloadterraform-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.yml26
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 @@
1dist: trusty
2sudo: required
3services:
4- docker
5language: go
6go:
7 - "1.12.x"
8
9install:
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
16script:
17- make test
18- make vet
19- make website-test
20
21matrix:
22 fast_finish: true
23 allow_failures:
24 - go: tip
25env:
26 GO111MODULE=on