зеркало из https://github.com/golang/dep.git
increment CI go versions from 1.8.x/1.9.x/tip to 1.9.x/"1.10"/tip
This commit is contained in:
Родитель
235ce96ce4
Коммит
55a9bc90ad
10
.travis.yml
10
.travis.yml
|
@ -12,7 +12,7 @@ jobs:
|
|||
env:
|
||||
- DEPTESTBYPASS501=1
|
||||
os: linux
|
||||
go: 1.9.x
|
||||
go: "1.10"
|
||||
script:
|
||||
- go test -i ./...
|
||||
- ./hack/lint.bash
|
||||
|
@ -23,18 +23,18 @@ jobs:
|
|||
- codeclimate-test-reporter < coverage.txt
|
||||
# YAML alias, for settings shared across the simpler builds
|
||||
- &simple-test
|
||||
go: 1.8.x
|
||||
go: 1.9.x
|
||||
stage: test
|
||||
go_import_path: github.com/golang/dep
|
||||
install: skip
|
||||
env:
|
||||
- DEPTESTBYPASS501=1
|
||||
script: go test -race $(go list ./... | grep -v vendor)
|
||||
script: go test -race ./...
|
||||
- <<: *simple-test
|
||||
go: tip
|
||||
- <<: *simple-test
|
||||
os: osx
|
||||
go: 1.9.x
|
||||
go: "1.10"
|
||||
install:
|
||||
# brew takes horribly long to update itself despite the above caching
|
||||
# attempt; only bzr install if it's not on the $PATH
|
||||
|
@ -50,7 +50,7 @@ jobs:
|
|||
# Related: https://superuser.com/questions/1044130/why-am-i-having-how-can-i-fix-this-error-shell-session-update-command-not-f
|
||||
- trap EXIT
|
||||
- go test -race ./...
|
||||
- go: 1.9.x
|
||||
- go: "1.10"
|
||||
stage: deploy
|
||||
go_import_path: github.com/golang/dep
|
||||
install: skip
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
NEW FEATURES:
|
||||
|
||||
* Add CI tests against go1.10. Drop support for go1.8.
|
||||
|
||||
BUG FIXES:
|
||||
|
||||
IMPROVEMENTS:
|
||||
|
|
|
@ -9,7 +9,7 @@ clone_folder: c:\gopath\src\github.com\golang\dep
|
|||
environment:
|
||||
GOPATH: c:\gopath
|
||||
DEPTESTBYPASS501: 1
|
||||
GOVERSION: 1.8
|
||||
GOVERSION: 1.9
|
||||
|
||||
init:
|
||||
- git config --global core.autocrlf input
|
||||
|
@ -31,4 +31,4 @@ deploy: false
|
|||
|
||||
test_script:
|
||||
- go build github.com/golang/dep/cmd/dep
|
||||
- for /f "" %%G in ('go list github.com/golang/dep/... ^| find /i /v "/vendor/"') do ( go test %%G & IF ERRORLEVEL == 1 EXIT 1)
|
||||
- for /f "" %%G in ('go list github.com/golang/dep/...') do ( go test %%G & IF ERRORLEVEL == 1 EXIT 1)
|
||||
|
|
Загрузка…
Ссылка в новой задаче