1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-13 13:48:40 +02:00

chore: compile with go1.10 (#560)

* chore: compile with go1.10

* chore: fix?

* chore: fix ci, maybe?

* chore: fix ci, maybe?

* test: fixed broken test
This commit is contained in:
Carlos Alexandro Becker 2018-02-17 10:50:54 -02:00 committed by GitHub
parent 66338de1bb
commit 1a90afcf5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
dist: trusty
sudo: required
language: go
go: 1.9
go: '1.10'
services:
- docker
install:

View File

@ -50,7 +50,6 @@ func testHeader(t *testing.T, r *http.Request, header string, want string) {
// TODO: improve all tests bellow by checking wether the mocked handlers
// were called or not.
func TestRunPipe_ModeBinary(t *testing.T) {
setup()
defer teardown()
@ -337,7 +336,7 @@ func TestRunPipe_ArtifactoryDown(t *testing.T) {
})
err = Pipe{}.Run(ctx)
assert.Error(t, err)
assert.Contains(t, err.Error(), ":1234: getsockopt: connection refused")
assert.Contains(t, err.Error(), "connection refused")
}
func TestRunPipe_TargetTemplateError(t *testing.T) {