Skip to content

Commit

Permalink
Remove go 1.12 support (goproxy syntax issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenrui333 committed Nov 10, 2019
1 parent c97e4e1 commit 996de81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
language: go

go:
- "1.12.x"
- "1.13.x"
sudo: false

before_install:
# Make sure travis builds work for forks
- mkdir -p $TRAVIS_BUILD_DIR $GOPATH/src/github.com/wtfutil
- test ! -d $GOPATH/src/github.com/wtfutil/wtf && mv $TRAVIS_BUILD_DIR $GOPATH/src/github.com/wtfutil/wtf || true
- export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/wtfutil/wtf
- cd $HOME/gopath/src/github.com/wtfutil/wtf
- export GOPROXY="https://proxy.golang.org,direct" && export GO111MODULE=on
- export GOPROXY="https://proxy.golang.org,direct"

script: go get ./... && ./scripts/check-uncommitted-vendor-files.sh && go test -v github.com/wtfutil/wtf/...
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/wtfutil/wtf

go 1.12
go 1.13

require (
code.cloudfoundry.org/bytefmt v0.0.0-20190819182555-854d396b647c
Expand Down

0 comments on commit 996de81

Please sign in to comment.