Skip to content

Add dep to manage project dependencies #127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Folders
_obj
_test
vendor

# Architecture specific extensions/prefixes
*.[568vq]
Expand Down
10 changes: 3 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
language: go
sudo: false
go:
- 1.8
- 1.9
- tip
go_import_path: gopkg.in/sqle/gitquery.v0
matrix:
fast_finish: true
allow_failures:
- go: tip
before_install:
- rm -rf $GOPATH/src/gopkg.in/sqle
- mkdir -p $GOPATH/src/gopkg.in/sqle
- ln -s $PWD $GOPATH/src/gopkg.in/sqle/gitquery.v0
- cd $GOPATH/src/gopkg.in/sqle/gitquery.v0
- go get -t -v ./...
install:
- go get -u github.com/golang/dep/cmd/dep
- dep ensure -v
- go build -ldflags="-X main.version=$TRAVIS_TAG" -v -o gitquery ./cmd/...
script:
- sh ./go.test.sh
Expand Down
195 changes: 195 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[[constraint]]
name = "github.com/chzyer/readline"
version = "1.4.0"

[[constraint]]
name = "github.com/fatih/color"
version = "1.5.0"

[[constraint]]
name = "github.com/jessevdk/go-flags"
version = "1.3.0"

[[constraint]]
branch = "master"
name = "github.com/olekukonko/tablewriter"

[[constraint]]
name = "github.com/stretchr/testify"
version = "1.1.4"

[[constraint]]
name = "gopkg.in/sqle/sqle.v0"
version = "0.7.0"

[[constraint]]
name = "gopkg.in/src-d/go-git.v4"
source = "github.com/src-d/go-git"
revision = "44c364fe3b7b8cdc0f9623afe870d6781a97ebb4"

[[constraint]]
name = "gopkg.in/src-d/go-git-fixtures.v3"
version = "3.0.0"
2 changes: 1 addition & 1 deletion blobs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"gopkg.in/sqle/sqle.v0/sql"

"github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git-fixtures.v3"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion commits_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"gopkg.in/sqle/sqle.v0/sql"

"github.com/src-d/go-git-fixtures"
"github.com/stretchr/testify/assert"
"gopkg.in/src-d/go-git-fixtures.v3"
)

func TestCommitsTable_Name(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions database_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ import (

"gopkg.in/sqle/sqle.v0/sql"

"github.com/src-d/go-git-fixtures"
"github.com/stretchr/testify/assert"
"gopkg.in/src-d/go-billy.v3/memfs"
"gopkg.in/src-d/go-billy.v4/memfs"
"gopkg.in/src-d/go-git-fixtures.v3"
"gopkg.in/src-d/go-git.v4"
"gopkg.in/src-d/go-git.v4/storage/filesystem"
)

func init() {
fixtures.RootFolder = "../../../github.com/src-d/go-git-fixtures/"
fixtures.RootFolder = "vendor/gopkg.in/src-d/go-git-fixtures.v3/"
}

const (
Expand Down
2 changes: 1 addition & 1 deletion objects_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"gopkg.in/sqle/sqle.v0/sql"

"github.com/src-d/go-git-fixtures"
"github.com/stretchr/testify/assert"
"gopkg.in/src-d/go-git-fixtures.v3"
)

func TestObjectsTable_Name(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion references_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"gopkg.in/sqle/sqle.v0/sql/expression"
"gopkg.in/sqle/sqle.v0/sql/plan"

"github.com/src-d/go-git-fixtures"
"github.com/stretchr/testify/assert"
"gopkg.in/src-d/go-git-fixtures.v3"
)

func TestReferencesTable_Name(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion tags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"gopkg.in/sqle/sqle.v0/sql"

"github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git-fixtures.v3"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion tree_entries_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"gopkg.in/sqle/sqle.v0/sql"

"github.com/src-d/go-git-fixtures"
"gopkg.in/src-d/go-git-fixtures.v3"
"github.com/stretchr/testify/assert"
)

Expand Down