Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #115 from heetch/rog-002-modules
Browse files Browse the repository at this point in the history
use Go modules
  • Loading branch information
rogpeppe authored Jun 12, 2019
2 parents 874653c + 6241279 commit f4f87a3
Show file tree
Hide file tree
Showing 5 changed files with 175 additions and 350 deletions.
15 changes: 4 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,20 @@ services:
- docker

before_install:
- mkdir -p $GOPATH/bin
- wget -O $GOPATH/bin/dep "https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64"
- chmod +x $GOPATH/bin/dep
- export PATH="$GOPATH/bin:$PATH"
- docker run -d -p 2379:2379 quay.io/coreos/etcd /usr/local/bin/etcd -advertise-client-urls http://0.0.0.0:2379 -listen-client-urls http://0.0.0.0:2379

install: dep ensure

go:
- '1.10'
- '1.11'
- '1.12'
- '1.11.x'
- '1.12.x'
- tip

script:
- go test -v -race -cover -timeout=1m ./...
- GO111MODULE=on go test -v -race -cover -timeout=1m ./...

deploy:
provider: script
skip_cleanup: true
script: .ci/docker.sh
on:
tags: true
go: '1.12'
go: '1.12.x'
273 changes: 0 additions & 273 deletions Gopkg.lock

This file was deleted.

66 changes: 0 additions & 66 deletions Gopkg.toml

This file was deleted.

Loading

0 comments on commit f4f87a3

Please sign in to comment.