Skip to content

Commit d7b8800

Browse files
committed
Bump to Golang 1.15 and switch to go modules
1 parent 0f99287 commit d7b8800

File tree

5 files changed

+373
-2
lines changed

5 files changed

+373
-2
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pratus
2+
build/pratus-*

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
script:
1010
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
1111
- wget https://github.com/Crazybus/lope/releases/download/0.4.0/lope-linux_amd64 -O lope && chmod +x lope
12-
- ./lope -workDir /go/src/github.com/Crazybus/pratus -blacklist GO golang:1.11 '/usr/local/go/bin/go get -v ./... && /usr/local/go/bin/go run build/build.go'
12+
- ./lope golang:1.15 '/usr/local/go/bin/go run build/build.go'
1313

1414
after_success:
1515
- bash <(curl -s https://codecov.io/bash)

build/build.go

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ var operatingSystems = [...]string{
1919
}
2020

2121
var archs = [...]string{
22-
"386",
2322
"amd64",
2423
}
2524

go.mod

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module github.com/crazybus/pratus
2+
3+
go 1.15
4+
5+
require (
6+
github.com/google/go-github v17.0.0+incompatible
7+
github.com/google/go-querystring v1.0.0 // indirect
8+
golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43
9+
)

0 commit comments

Comments
 (0)