Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Commit

Permalink
chore: add travis (#2)
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
  • Loading branch information
hacdias committed Aug 5, 2018
1 parent e699a01 commit 2460e35
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: go

go:
- 1.x
- tip

matrix:
allow_failures:
- go: tip
fast_finish: true

install:
- go get -t ./...
- go get github.com/golang/lint/golint
- go get github.com/alecthomas/gometalinter
- gometalinter --install

script:
- gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests ./...
- golint ./..
2 changes: 1 addition & 1 deletion filemanager/filemanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package filemanager
import (
"net/http"

"github.com/filebrowser/filebrowser"
"github.com/filebrowser/caddy/parser"
"github.com/filebrowser/filebrowser"
h "github.com/filebrowser/filebrowser/http"
"github.com/mholt/caddy"
"github.com/mholt/caddy/caddyhttp/httpserver"
Expand Down
2 changes: 1 addition & 1 deletion hugo/hugo.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package hugo
import (
"net/http"

"github.com/filebrowser/filebrowser"
"github.com/filebrowser/caddy/parser"
"github.com/filebrowser/filebrowser"
h "github.com/filebrowser/filebrowser/http"
"github.com/mholt/caddy"
"github.com/mholt/caddy/caddyhttp/httpserver"
Expand Down
2 changes: 1 addition & 1 deletion jekyll/jekyll.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package jekyll
import (
"net/http"

"github.com/filebrowser/filebrowser"
"github.com/filebrowser/caddy/parser"
"github.com/filebrowser/filebrowser"
h "github.com/filebrowser/filebrowser/http"
"github.com/mholt/caddy"
"github.com/mholt/caddy/caddyhttp/httpserver"
Expand Down

0 comments on commit 2460e35

Please sign in to comment.