mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-11 13:38:41 +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:
parent
66338de1bb
commit
1a90afcf5f
@ -1,7 +1,7 @@
|
||||
dist: trusty
|
||||
sudo: required
|
||||
language: go
|
||||
go: 1.9
|
||||
go: '1.10'
|
||||
services:
|
||||
- docker
|
||||
install:
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user