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
Henrique Dias 2018-02-18 09:51:06 +00:00
parent da05c5048e
commit 8299f8ed06
2 changed files with 5 additions and 4 deletions

View File

@ -2,7 +2,7 @@ version: 2
jobs:
linting:
docker:
- image: circleci/golang:1.9
- image: circleci/golang:1.10
working_directory: /go/src/github.com/filebrowser/filebrowser
steps:
- checkout
@ -16,6 +16,7 @@ jobs:
name: Run linting
command: |
gometalinter --exclude="rice-box.go" \
--deadline=300s \
-D goconst \
-D gocyclo \
-D vetshadow \
@ -24,7 +25,7 @@ jobs:
-D gas
build:
docker:
- image: circleci/golang:1.9
- image: circleci/golang:1.10
working_directory: /go/src/github.com/filebrowser/filebrowser
steps:
- checkout
@ -38,7 +39,7 @@ jobs:
command: go build
deploy:
docker:
- image: circleci/golang:1.9
- image: circleci/golang:1.10
working_directory: /go/src/github.com/filebrowser/filebrowser
steps:
- checkout

View File

@ -1 +1 @@
bf6bef64f1544a286116fe3a9366ac9addaa2dd5
26f3e4501e309656047dce1eab98c0a5277681a6