Skip to content

Commit d8a4568

Browse files
authored
Merge pull request #4 from bsm/feature/travis
CI integration
2 parents d3779c5 + ea15bf2 commit d8a4568

File tree

4 files changed

+23
-153
lines changed

4 files changed

+23
-153
lines changed

.travis.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: go
2+
go:
3+
- 1.11.x
4+
- 1.12.x
5+
addons:
6+
postgresql: "9.5"
7+
services:
8+
- postgresql
9+
before_script:
10+
- psql -c 'create database ci_test;' -U postgres
11+
env:
12+
- GO111MODULE=on DATABASE_DSN=postgres://127.0.0.1/ci_test
13+
cache:
14+
directories:
15+
- $GOPATH/pkg/mod

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,8 @@ it's not picked up by another worker again.
3030

3131
Please see the [API documentation](https://godoc.org/github.com/bsm/accord) for
3232
package and API descriptions and examples.
33+
34+
## Backends
35+
36+
* [PostgreSQL](https://godoc.org/github.com/bsm/accord/backend/postgres) - requires version >= 9.5.
37+
* [Mock](https://godoc.org/github.com/bsm/accord/backend/mock) - in-memory backend, for testing only.

go.mod

+3-31
Original file line numberDiff line numberDiff line change
@@ -3,56 +3,28 @@ module github.com/bsm/accord
33
go 1.12
44

55
require (
6-
cloud.google.com/go v0.37.4 // indirect
76
github.com/AndreasBriese/bbloom v0.0.0-20190306092124-e2d15f34fcf9 // indirect
8-
github.com/DataDog/zstd v1.4.0 // indirect
97
github.com/Masterminds/squirrel v1.1.0
10-
github.com/Shopify/sarama v1.22.0 // indirect
11-
github.com/beorn7/perks v1.0.0 // indirect
128
github.com/dgraph-io/badger v2.0.0-rc.2+incompatible
139
github.com/dgryski/go-farm v0.0.0-20190416075124-e1214b5e05dc // indirect
1410
github.com/dustin/go-humanize v1.0.0 // indirect
15-
github.com/go-logfmt/logfmt v0.4.0 // indirect
1611
github.com/go-sql-driver/mysql v1.4.1 // indirect
17-
github.com/gogo/protobuf v1.2.1 // indirect
1812
github.com/golang/protobuf v1.3.1
19-
github.com/google/btree v1.0.0 // indirect
20-
github.com/google/pprof v0.0.0-20190404155422-f8f10df84213 // indirect
2113
github.com/google/uuid v1.1.1
22-
github.com/gorilla/mux v1.7.1 // indirect
23-
github.com/hashicorp/golang-lru v0.5.1 // indirect
2414
github.com/joho/godotenv v1.3.0
25-
github.com/kisielk/errcheck v1.2.0 // indirect
26-
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
2715
github.com/kr/pretty v0.1.0 // indirect
28-
github.com/kr/pty v1.1.4 // indirect
2916
github.com/lib/pq v1.1.0
3017
github.com/mattn/go-sqlite3 v1.10.0 // indirect
3118
github.com/onsi/ginkgo v1.8.0
3219
github.com/onsi/gomega v1.5.0
3320
github.com/pkg/errors v0.8.1 // indirect
34-
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 // indirect
35-
github.com/prometheus/common v0.3.0 // indirect
36-
github.com/prometheus/procfs v0.0.0-20190416084830-8368d24ba045 // indirect
37-
github.com/sirupsen/logrus v1.4.1 // indirect
38-
github.com/stretchr/objx v0.2.0 // indirect
39-
go.opencensus.io v0.20.2 // indirect
40-
golang.org/x/crypto v0.0.0-20190422183909-d864b10871cd // indirect
41-
golang.org/x/exp v0.0.0-20190422150234-47ea93f3503f // indirect
42-
golang.org/x/image v0.0.0-20190417020941-4e30a6eb7d9a // indirect
43-
golang.org/x/lint v0.0.0-20190409202823-959b441ac422 // indirect
44-
golang.org/x/mobile v0.0.0-20190415191353-3e0bab5405d6 // indirect
45-
golang.org/x/net v0.0.0-20190420063019-afa5a82059c6
46-
golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a // indirect
47-
golang.org/x/sync v0.0.0-20190423024810-112230192c58 // indirect
21+
github.com/stretchr/testify v1.3.0 // indirect
22+
golang.org/x/net v0.0.0-20190420063019-afa5a82059c6 // indirect
4823
golang.org/x/sys v0.0.0-20190422165155-953cdadca894 // indirect
49-
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect
50-
golang.org/x/tools v0.0.0-20190422233926-fe54fb35175b // indirect
51-
google.golang.org/api v0.3.2 // indirect
24+
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2 // indirect
5225
google.golang.org/appengine v1.5.0 // indirect
5326
google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7 // indirect
5427
google.golang.org/grpc v1.20.1
5528
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
5629
gopkg.in/yaml.v2 v2.2.2 // indirect
57-
honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a // indirect
5830
)

0 commit comments

Comments
 (0)