Skip to content

Commit

Permalink
Merge pull request #519 from upper/hotfix/add-go-mod
Browse files Browse the repository at this point in the history
Add go mod
  • Loading branch information
xiam authored Aug 17, 2019
2 parents a82e917 + 718b698 commit 6eb0e75
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*.sw?
*.db
*.tmp
generated_*.go
vendor
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ install:
- export TRAVIS_BUILD_DIR=$GOPATH/src/upper.io/db.v3
- mv $PWD $TRAVIS_BUILD_DIR
- cd $TRAVIS_BUILD_DIR
- if [ ! -z "$(go version | grep go1.12)" ]; then export GO111MODULE=on; fi
- go get -t -v -d ./...
- go get -v modernc.org/ql/ql

Expand Down
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module upper.io/db.v3

go 1.12

0 comments on commit 6eb0e75

Please sign in to comment.