Skip to content

Commit 00d9ef8

Browse files
authored
Merge pull request #206 from rojkov/go-mod
Get rid of dep in favour of go mod
2 parents 9130817 + 91c890b commit 00d9ef8

File tree

2,491 files changed

+418
-953535
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,491 files changed

+418
-953535
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,16 @@ dist: xenial
55
go:
66
- 1.12.x
77

8+
cache:
9+
directories:
10+
- $GOPATH/pkg/mod
11+
812
env:
913
global:
1014
- RUNC_VERSION=v1.0.0-rc8
1115
- CRIO_VERSION=v1.14.6
1216
- BUILDAH_VERSION=v1.10.0
17+
- GO111MODULE=on
1318

1419
sudo: required
1520

@@ -18,9 +23,6 @@ before_install:
1823
- go get -v golang.org/x/lint/golint
1924
- go get -v github.com/fzipp/gocyclo
2025
- go get -v golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow
21-
## hack for building on forks
22-
- repo=`basename $PWD`; src=`dirname $PWD`; dest="`dirname $src`/intel"
23-
- if [[ "$src" != "$dest" ]]; then mv "$src" "$dest"; cd ../../intel/$repo; export TRAVIS_BUILD_DIR=`dirname $TRAVIS_BUILD_DIR`/$repo; fi
2426
## install buildah build deps
2527
- cdir=$(pwd)
2628
- sudo apt-get update

0 commit comments

Comments
 (0)