Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Commit

Permalink
ci: switch to go1.13rc2 and fix new expected error messages (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
myitcv committed Sep 3, 2019
1 parent da8791e commit f2461c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cache:
go:
- "1.11.13"
- "1.12.9"
- "1.13beta1"
- "1.13rc2"

branches:
only:
Expand All @@ -21,7 +21,7 @@ os:
matrix:
include:
- os: linux
go: "1.13beta1"
go: "1.13rc2"
env: CHECK_GOFMT=1

env:
Expand Down
3 changes: 2 additions & 1 deletion testdata/mod_readonly.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ cd repo
! gobin -mod=readonly github.com/gobin-testrepos/simple-main
! stdout .+
[go1.11] [!go1.12] stderr 'import lookup disabled by -mod=readonly'
[go1.12] stderr 'can''t load package: package github.com/gobin-testrepos/simple-main: unknown import path "github.com/gobin-testrepos/simple-main": import lookup disabled by -mod=readonly'
[go1.12] [!go1.13] stderr 'can''t load package: package github.com/gobin-testrepos/simple-main: unknown import path "github.com/gobin-testrepos/simple-main": import lookup disabled by -mod=readonly'
[go1.13] stderr 'can''t load package: package github\.com/gobin-testrepos/simple-main: import lookup disabled by -mod=readonly'

-- repo/go.mod --
module example.com/repo

0 comments on commit f2461c8

Please sign in to comment.