Skip to content

Commit

Permalink
travis config update
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevatkm committed May 31, 2016
1 parent a396307 commit 061792d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
16 changes: 11 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
language: go

install:
- go get .

script:
- go test -v .
sudo: false

go:
- 1.2
Expand All @@ -13,3 +9,13 @@ go:
- 1.5
- 1.6
- tip

install:
- go get .

script:
- go test -v .

matrix:
allow_failures:
- go: tip
2 changes: 1 addition & 1 deletion resty_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@ func createGetServer(t *testing.T) *httptest.Server {
} else if r.URL.Path == "/mypage2" {
w.Write([]byte("TestGet: text response from mypage2"))
} else if r.URL.Path == "/set-timeout-test" {
time.Sleep(time.Second * 5)
time.Sleep(time.Second * 6)
w.Write([]byte("TestClientTimeout page"))
} else if r.URL.Path == "/my-image.png" {
fileBytes, _ := ioutil.ReadFile(getTestDataPath() + "/test-img.png")
Expand Down

0 comments on commit 061792d

Please sign in to comment.