aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2019-07-31 01:57:10 -0700
committerGitHub <noreply@github.com>2019-07-31 01:57:10 -0700
commitb18ce7abf9050f4a597aa961fdd2b1a488c69b22 (patch)
treee1875f8074336b81941f7a6cfb98d481023b01fa
parent19360ab10a306548d46343b43629d663d0a4705b (diff)
parenta435ba2b7f2166db5cc684c255e77b52704cdb5d (diff)
downloadseaweedfs-b18ce7abf9050f4a597aa961fdd2b1a488c69b22.tar.xz
seaweedfs-b18ce7abf9050f4a597aa961fdd2b1a488c69b22.zip
Merge pull request #1024 from fengye87/fix-go-mod
Move travis-ci pipeline to go mod
-rw-r--r--.travis.yml4
-rw-r--r--go.mod2
-rw-r--r--go.sum4
3 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index b42847e8e..3261d33db 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,6 @@
sudo: false
language: go
go:
- - 1.10.x
- 1.11.x
- 1.12.x
# - tip
@@ -12,10 +11,9 @@ before_install:
install:
- export CGO_ENABLED="0"
- go env
- - go get -u ./weed/...
script:
- - go test ./weed/...
+ - env GO111MODULE=on go test ./weed/...
before_deploy:
- make release
diff --git a/go.mod b/go.mod
index db25e9637..f97d6413c 100644
--- a/go.mod
+++ b/go.mod
@@ -49,3 +49,5 @@ require (
gopkg.in/jcmturner/goidentity.v3 v3.0.0 // indirect
gopkg.in/karlseguin/expect.v1 v1.0.1 // indirect
)
+
+replace github.com/satori/go.uuid v1.2.0 => github.com/satori/go.uuid v0.0.0-20181028125025-b2ce2384e17b
diff --git a/go.sum b/go.sum
index 88f54eb05..6b471fe80 100644
--- a/go.sum
+++ b/go.sum
@@ -262,8 +262,8 @@ github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqn
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd h1:CmH9+J6ZSsIjUK3dcGsnCnO41eRBOnY12zwkn5qVwgc=
github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd/go.mod h1:hPqNNc0+uJM6H+SuU8sEs5K5IQeKccPqeSjfgcKGgPk=
-github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww=
-github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0=
+github.com/satori/go.uuid v0.0.0-20181028125025-b2ce2384e17b h1:8O/3dJ2dGfuLVN0bo2B0IdkG0L8cjpmFJ4r8eRQBCi8=
+github.com/satori/go.uuid v0.0.0-20181028125025-b2ce2384e17b/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0=
github.com/seaweedfs/fuse v0.0.0-20190510212405-310228904eff h1:uLd5zBvf5OA67wcVRePHrFt60bR4LSskaVhgVwyk0Jg=
github.com/seaweedfs/fuse v0.0.0-20190510212405-310228904eff/go.mod h1:cubdLmQFqEUZ9vNJrznhgc3m3VMAJi/nY2Ix2axXkG0=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=