Add glide config and set up tests to use glide

This commit is contained in:
Paul Bonser 2016-07-26 14:55:16 -05:00
parent 214c987e11
commit 9541a9a657
5 changed files with 15 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
*.test
*.swp
vendor

View File

@ -29,7 +29,8 @@ before_script:
- ${HOME}/elasticsearch/elasticsearch-${ES_VERSION}/bin/elasticsearch >/dev/null &
install:
- go get gopkg.in/check.v1
- go install github.com/Masterminds/glide
- glide install
script:
- make test

6
glide.lock generated Normal file
View File

@ -0,0 +1,6 @@
hash: 7e39b5bd354c3f0770ca3a9d28a74a0523695d18effa1e540f006b325defcfe7
updated: 2016-07-26T14:50:32.597335795-05:00
imports: []
testImports:
- name: github.com/go-check/check
version: 4f90aeace3a26ad7021961c297b22c42160c7b25

5
glide.yaml Normal file
View File

@ -0,0 +1,5 @@
package: github.com/OwnLocal/goes
import: []
testImport:
- package: github.com/go-check/check
version: v1

View File

@ -12,7 +12,7 @@ import (
"testing"
"time"
. "gopkg.in/check.v1"
. "github.com/go-check/check"
)
var (