From 8448db1ff7433ba26365505a707673ff34aac98e Mon Sep 17 00:00:00 2001 From: caiges Date: Mon, 16 Sep 2019 13:28:46 -0700 Subject: [PATCH] Fix build due to busted apache deps. Add Travis build --- .travis.yml | 16 ++++++++++++++++ Makefile | 2 +- go.mod | 2 ++ go.sum | 1 + 4 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..cfc0736 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: go + +go: + - 1.13.x + +script: + - make test + - make build + +deploy: + provider: releases + api_key: ${GITHUB_TOKEN} + file: "terraform-provider-liquidweb" + skip_cleanup: true + on: + tags: true diff --git a/Makefile b/Makefile index 49bf826..2f06922 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ trace_jaeger: sh -c "while [ 1 ]; do nc -ul 5775 < pipe | tee outgoing.log | nc -u jaeger 5775 | tee pipe incoming.log; done" build: clean - go build + go build -o terraform-provider-liquidweb clean: rm -f terraform-provider-liquidweb diff --git a/go.mod b/go.mod index fbceb45..aeb931a 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,7 @@ module github.com/liquidweb/terraform-provider-liquidweb +replace git.apache.org/thrift.git => github.com/apache/thrift v0.12.0 + require ( github.com/hashicorp/terraform v0.12.2 github.com/liquidweb/go-lwApi v0.0.0-20190605172801-52a4864d2738 diff --git a/go.sum b/go.sum index 2872d20..c8dffaf 100644 --- a/go.sum +++ b/go.sum @@ -28,6 +28,7 @@ github.com/aliyun/aliyun-tablestore-go-sdk v4.1.2+incompatible/go.mod h1:LDQHRZy github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= github.com/antchfx/xpath v0.0.0-20190129040759-c8489ed3251e/go.mod h1:Yee4kTMuNiPYJ7nSNorELQMr1J33uOpXDMByNYhvtNk= github.com/antchfx/xquery v0.0.0-20180515051857-ad5b8c7a47b0/go.mod h1:LzD22aAzDP8/dyiCKFp31He4m2GPjl0AFyzDtZzUu9M= +github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/apparentlymart/go-cidr v1.0.0 h1:lGDvXx8Lv9QHjrAVP7jyzleG4F9+FkRhJcEsDFxeb8w= github.com/apparentlymart/go-cidr v1.0.0/go.mod h1:EBcsNrHc3zQeuaeCeCtQruQm+n9/YjEn/vI25Lg7Gwc= github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM=