Skip to content
Permalink
Browse files

Migrate from dep to go mod

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
  • Loading branch information...
puiterwijk authored and mergify committed Feb 26, 2019
1 parent 39d04cb commit 0bd77237caf18e4e0139aa0ad81ae4c1b2c56380
Showing with 41 additions and 362 deletions.
  1. +9 −14 .travis.yml
  2. +0 −291 Gopkg.lock
  3. +0 −31 Gopkg.toml
  4. +1 −5 README.md
  5. +3 −18 build.sh
  6. +27 −0 go.mod
  7. +1 −3 server/constants/versioninfo.go
@@ -5,31 +5,26 @@ git:
# We need the full repo for the metatest
depth: false
go:
- "1.9"
- "1.10"
- "1.11"
- master
env: []
env:
global:
- GO111MODULE=on
matrix:
fast_finish: true
include:
- env: EXTRATAGS=stress
- env: FULLUPDATE=yes
- env:
- GO111MODULE=on
- EXTRATAGS=stress
allow_failures:
- env: EXTRATAGS=stress
- env: FULLUPDATE=yes
- env:
- GO111MODULE=on
- EXTRATAGS=stress
- go: master
go_import_path: repospanner.org/repospanner
# In no way would I suggest doing curl | sh normally.... But it's not my environment
install:
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
before_script:
- echo "127.0.0.1 node1.localhost.localdomain node2.localhost.localdomain node3.localhost.localdomain" | sudo tee -a /etc/hosts
script:
- dep ensure
- ./build.sh -tags prof
- go vet ./...
- go test ./... -tags ${EXTRATAGS:-plain} -timeout 9m
cache:
directories:
- vendor

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
@@ -18,11 +18,7 @@ regions with odd numbers of nodes.
Build repoSpanner
-----------------

You will need the Go dep tool installed to build repoSpanner:

$ dnf install dep

Followed by that:
Make sure you have a Go toolchain available, and run:

$ ./build.sh

Oops, something went wrong.

0 comments on commit 0bd7723

Please sign in to comment.
You can’t perform that action at this time.