diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7fa053c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: go + +go: + - 1.8 + - tip + +matrix: + allow_failures: + - go: tip + +install: + - rm -rf $GOPATH/src/gopkg.in/src-d + - mkdir -p $GOPATH/src/gopkg.in/src-d + - ln -s $PWD $GOPATH/src/gopkg.in/src-d/simple-linguist.v1 + - cd $GOPATH/src/gopkg.in/src-d/simple-linguist.v1 + - go get -v -t ./... + + +script: + - make test \ No newline at end of file diff --git a/README.md b/README.md index 405467b..f5633e7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# simple-linguist +# simple-linguist [![GoDoc](https://godoc.org/gopkg.in/src-d/simple-linguist.v1?status.svg)](https://godoc.org/gopkg.in/src-d/simple-linguist.v1) [![Build Status](https://travis-ci.org/src-d/simple-linguist.svg?branch=master)](https://travis-ci.org/src-d/simple-linguist) File language detector and toolbox to ignore binary or vendored files. *simple-linguist*, is our port to _Go_ of the original [lignuist](https://github.com/github/linguist) _Ruby_ library, with fewer precision in arcane languages but with an improved *performance of 100x*.