Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gobuffalo/pop into pop
Browse files Browse the repository at this point in the history
  • Loading branch information
u007 committed Mar 26, 2018
2 parents 12e1fb0 + d9d23a1 commit ca2a99a
Show file tree
Hide file tree
Showing 110 changed files with 2,738 additions and 528 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@ migrations/schema.sql
.grifter/
cockroach-data/
vendor/
cockroach-data/
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project_name: pop
release:
github:
owner: markbates
owner: gobuffalo
name: pop
name_template: '{{.Tag}}'
brew:
Expand All @@ -21,7 +21,6 @@ builds:
- "6"
main: ./soda/main.go
binary: soda-no-sqlite
flags: -tags nosqlite
-
goos:
- darwin
Expand All @@ -31,6 +30,7 @@ builds:
- "6"
main: ./soda/main.go
binary: soda-with-sqlite
flags: -tags sqlite
archive:
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
Expand Down
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ sudo: required
go:
- 1.8
- 1.9
- "1.10"
- tip

install:
- go get -t -v ./...

before_script:
- go build -o tsoda ./soda
- go build -v -tags sqlite -o tsoda ./soda
# travis hangs when trying to create mysql db using soda. not sure why
- mysql -e 'create database pop_test;'
- ./tsoda create -e "postgres"
Expand All @@ -22,7 +23,7 @@ before_script:
- ./tsoda migrate -e "postgres"
- ./tsoda migrate -e "sqlite"

script: go test ./... -v
script: go test -tags sqlite ./... -v

global_env:
- MYSQL_USER="travis"
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from golang:1.7

RUN echo $GOPATH
RUN mkdir -p $GOPATH/src/github.com/markbates/pop
WORKDIR $GOPATH/src/github.com/markbates/pop
RUN mkdir -p $GOPATH/src/github.com/gobuffalo/pop
WORKDIR $GOPATH/src/github.com/gobuffalo/pop
ADD . .
RUN go get -t -v ./...
RUN SODA_DIALECT=sqlite go test ./...
75 changes: 41 additions & 34 deletions Gopkg.lock

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

3 changes: 0 additions & 3 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[[constraint]]
revision = "36e9d2ebbde5e3f13ab2e25625fd453271d6522e"
name = "github.com/satori/go.uuid"
Loading

0 comments on commit ca2a99a

Please sign in to comment.