Add glide config and set up tests to use glide
This commit is contained in:
parent
214c987e11
commit
9541a9a657
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
*.test
|
*.test
|
||||||
*.swp
|
*.swp
|
||||||
|
vendor
|
||||||
|
@ -29,7 +29,8 @@ before_script:
|
|||||||
- ${HOME}/elasticsearch/elasticsearch-${ES_VERSION}/bin/elasticsearch >/dev/null &
|
- ${HOME}/elasticsearch/elasticsearch-${ES_VERSION}/bin/elasticsearch >/dev/null &
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- go get gopkg.in/check.v1
|
- go install github.com/Masterminds/glide
|
||||||
|
- glide install
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make test
|
- make test
|
||||||
|
6
glide.lock
generated
Normal file
6
glide.lock
generated
Normal 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
5
glide.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
package: github.com/OwnLocal/goes
|
||||||
|
import: []
|
||||||
|
testImport:
|
||||||
|
- package: github.com/go-check/check
|
||||||
|
version: v1
|
@ -12,7 +12,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
. "gopkg.in/check.v1"
|
. "github.com/go-check/check"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Loading…
Reference in New Issue
Block a user