Skip to content

Commit 6eb0e75

Browse files
authored
Merge pull request #519 from upper/hotfix/add-go-mod
Add go mod
2 parents a82e917 + 718b698 commit 6eb0e75

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
*.sw?
22
*.db
33
*.tmp
4-
generated_*.go
4+
vendor

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ install:
3939
- export TRAVIS_BUILD_DIR=$GOPATH/src/upper.io/db.v3
4040
- mv $PWD $TRAVIS_BUILD_DIR
4141
- cd $TRAVIS_BUILD_DIR
42+
- if [ ! -z "$(go version | grep go1.12)" ]; then export GO111MODULE=on; fi
4243
- go get -t -v -d ./...
4344
- go get -v modernc.org/ql/ql
4445

go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module upper.io/db.v3
2+
3+
go 1.12

0 commit comments

Comments
 (0)