Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Łukasz Nowak
caddy
Commits
ef3d63e3
Commit
ef3d63e3
authored
Aug 24, 2017
by
Matthew Holt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update CI scripts for Go 1.9
parent
4b1b329e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
12 deletions
+8
-12
.travis.yml
.travis.yml
+3
-5
appveyor.yml
appveyor.yml
+5
-7
No files found.
.travis.yml
View file @
ef3d63e3
language
:
go
language
:
go
go
:
go
:
-
1.
8.3
-
1.
9
-
tip
-
tip
matrix
:
matrix
:
...
@@ -31,9 +31,7 @@ install:
...
@@ -31,9 +31,7 @@ install:
script
:
script
:
-
gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests --vendor ./...
-
gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests --vendor ./...
-
vendorcheck ./...
-
vendorcheck ./...
# TODO: When Go 1.9 is released, replace $(go list) subcommand with ./... because vendor folder should be ignored
-
go test -race ./...
-
go test -race $(go list ./... | grep -v vendor)
after_script
:
after_script
:
# TODO: When Go 1.9 is released, replace $(go list) subcommand with ./... because vendor folder should be ignored
-
golint ./...
-
golint $(go list ./... | grep -v vendor)
appveyor.yml
View file @
ef3d63e3
...
@@ -9,8 +9,8 @@ environment:
...
@@ -9,8 +9,8 @@ environment:
install
:
install
:
-
rmdir c:\go /s /q
-
rmdir c:\go /s /q
-
appveyor DownloadFile https://storage.googleapis.com/golang/go1.
8.3
.windows-amd64.zip
-
appveyor DownloadFile https://storage.googleapis.com/golang/go1.
9
.windows-amd64.zip
-
7z x go1.
8.3
.windows-amd64.zip -y -oC:\ > NUL
-
7z x go1.
9
.windows-amd64.zip -y -oC:\ > NUL
-
set PATH=%GOPATH%\bin;%PATH%
-
set PATH=%GOPATH%\bin;%PATH%
-
go version
-
go version
-
go env
-
go env
...
@@ -29,11 +29,9 @@ build: off
...
@@ -29,11 +29,9 @@ build: off
test_script
:
test_script
:
-
gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests --vendor ./...
-
gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests --vendor ./...
-
vendorcheck ./...
-
vendorcheck ./...
# TODO: When Go 1.9 comes out, replace this whole line with `go test -race ./...` b/c vendor folder should be ignored
-
go test -race ./...
-
for /f "" %%G in ('go list ./... ^| find /i /v "/vendor/"') do (go test -race %%G & IF ERRORLEVEL == 1 EXIT 1)
after_test
:
after_test
:
# TODO: When Go 1.9 comes out, replace this whole line with `golint ./...` b/c vendor folder should be ignored
-
golint ./...
-
for /f "" %%G in ('go list ./... ^| find /i /v "/vendor/"') do (golint %%G & IF ERRORLEVEL == 1 EXIT 1)
deploy
:
off
deploy
:
off
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment