chore: go 1.10 and fix linters
Former-commit-id: 289bceb9a90eb2422a69010863e7f2691eae357f [formerly b0cbba626a1185f95c6ce98d453cce99ee208e97] [formerly 90388476afb899550d56c82f836203e3d7942df6 [formerly 5c188d9dd4
]]
Former-commit-id: a318b0f544706102d05a1f6faaeb2bbbd11ede29 [formerly 05b5bf7216959990c8cdccebae5fd91769aa9596]
Former-commit-id: af8ef1c7dc5926a9f6912249b2c0a334452c239b
pull/726/head
parent
da05c5048e
commit
8299f8ed06
|
@ -2,7 +2,7 @@ version: 2
|
||||||
jobs:
|
jobs:
|
||||||
linting:
|
linting:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/golang:1.9
|
- image: circleci/golang:1.10
|
||||||
working_directory: /go/src/github.com/filebrowser/filebrowser
|
working_directory: /go/src/github.com/filebrowser/filebrowser
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
@ -16,6 +16,7 @@ jobs:
|
||||||
name: Run linting
|
name: Run linting
|
||||||
command: |
|
command: |
|
||||||
gometalinter --exclude="rice-box.go" \
|
gometalinter --exclude="rice-box.go" \
|
||||||
|
--deadline=300s \
|
||||||
-D goconst \
|
-D goconst \
|
||||||
-D gocyclo \
|
-D gocyclo \
|
||||||
-D vetshadow \
|
-D vetshadow \
|
||||||
|
@ -24,7 +25,7 @@ jobs:
|
||||||
-D gas
|
-D gas
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/golang:1.9
|
- image: circleci/golang:1.10
|
||||||
working_directory: /go/src/github.com/filebrowser/filebrowser
|
working_directory: /go/src/github.com/filebrowser/filebrowser
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
@ -38,7 +39,7 @@ jobs:
|
||||||
command: go build
|
command: go build
|
||||||
deploy:
|
deploy:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/golang:1.9
|
- image: circleci/golang:1.10
|
||||||
working_directory: /go/src/github.com/filebrowser/filebrowser
|
working_directory: /go/src/github.com/filebrowser/filebrowser
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
bf6bef64f1544a286116fe3a9366ac9addaa2dd5
|
26f3e4501e309656047dce1eab98c0a5277681a6
|
Loading…
Reference in New Issue