.travis: don't call go get if there is go.mod
when enable go module, go get will update the required version. It is not supported to run in CI. More info: https://github.com/golang/go/issues/27643. Signed-off-by: Wei Fu <fuweid89@gmail.com>
This commit is contained in:
		| @@ -4,9 +4,11 @@ go: | |||||||
|   - "1.12.x" |   - "1.12.x" | ||||||
|  |  | ||||||
| install: | install: | ||||||
|   - go get -u github.com/vbatts/git-validation |   # Don't change local go.{mod, sum} by go get tools. | ||||||
|   - go get -u github.com/kunalkushwaha/ltag |   # | ||||||
|   - go get -t ./... |   # ref: https://github.com/golang/go/issues/27643 | ||||||
|  |   - pushd ..; go get -u github.com/vbatts/git-validation; popd | ||||||
|  |   - pushd ..; go get -u github.com/kunalkushwaha/ltag; popd | ||||||
|  |  | ||||||
| before_script: | before_script: | ||||||
|   - pushd ..; git clone https://github.com/containerd/project; popd |   - pushd ..; git clone https://github.com/containerd/project; popd | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Wei Fu
					Wei Fu