Skip to content

Commit

Permalink
Merge pull request #254 from go-resty/v2
Browse files Browse the repository at this point in the history
For v2 Release
  • Loading branch information
jeevatkm committed Jul 17, 2019
2 parents fa5875c + 1734771 commit d467d57
Show file tree
Hide file tree
Showing 24 changed files with 1,674 additions and 1,426 deletions.
13 changes: 3 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,16 @@ language: go

sudo: false

go:
# - 1.3
# - 1.4
# - 1.5
# - 1.6
# - 1.7
# - 1.8.x
# - 1.9.x
- 1.10.x
go: # use travis ci resource effectively, keep always latest 2 versions and tip :)
- 1.11.x
- 1.12.x
- tip

install:
- go get -v -t ./...

script:
- go test ./... -coverprofile=coverage.txt -covermode=atomic
- go test ./... -race -coverprofile=coverage.txt -covermode=atomic

after_success:
- bash <(curl -s https://codecov.io/bash)
Expand Down
6 changes: 3 additions & 3 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
gazelle(
name = "gazelle",
command = "fix",
prefix = "gopkg.in/resty.v1",
prefix = "github.com/go-resty/resty/v2",
)

go_library(
Expand All @@ -15,7 +15,7 @@ go_library(
["*.go"],
exclude = ["*_test.go"],
),
importpath = "gopkg.in/resty.v1",
importpath = "github.com/go-resty/resty/v2",
visibility = ["//visibility:public"],
deps = ["@org_golang_x_net//publicsuffix:go_default_library"],
)
Expand All @@ -29,7 +29,7 @@ go_test(
),
data = glob([".testdata/*"]),
embed = [":go_default_library"],
importpath = "gopkg.in/resty.v1",
importpath = "github.com/go-resty/resty/v2",
deps = [
"@org_golang_x_net//proxy:go_default_library",
],
Expand Down
366 changes: 221 additions & 145 deletions README.md

Large diffs are not rendered by default.

Loading

0 comments on commit d467d57

Please sign in to comment.