Move files

Added travis.yml
This commit is contained in:
Alexander Kiryukhin 2018-05-10 03:03:55 +03:00
parent 6796db17de
commit cf07a154d5
No known key found for this signature in database
GPG key ID: 5579837FDBF65965
3 changed files with 15 additions and 2 deletions

14
.travis.yml Normal file
View file

@ -0,0 +1,14 @@
language: go
go:
- "1.10"
- tip
before_install:
- go get -t -v ./...
script:
- go test -race -coverprofile=coverage.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash)

View file

@ -4,10 +4,9 @@ import (
"testing"
"io/ioutil"
"encoding/json"
"path"
)
var testFile = path.Join(`..`, `tests.json`)
var testFile = `tests.json`
func TestStemWord(t *testing.T) {
file, err := ioutil.ReadFile(testFile)