Skip to content

Commit

Permalink
Merge pull request #9 from romanyx/feature/modules
Browse files Browse the repository at this point in the history
Go mod support
  • Loading branch information
romanyx authored Aug 31, 2018
2 parents ffb77f6 + d88de8c commit 606a42e
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
docker-data
go.sum
vendor
19 changes: 4 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,7 @@
language: go

go:
- stable
- master

matrix:
allow_failures:
- go: master

env:
- DOCKER_COMPOSE_VERSION=1.21.2

- 1.11
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- sudo service mysql stop
- sudo /etc/init.d/postgresql stop
- sudo /etc/init.d/postgresql stop
Expand All @@ -24,3 +10,6 @@ before_install:
- sleep 3
script:
- go test -v --race ./...
install: true
env:
- GO111MODULE=on
25 changes: 25 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module github.com/romanyx/polluter

require (
github.com/DATA-DOG/go-txdb v0.1.0
github.com/fsnotify/fsnotify v1.4.7 // indirect
github.com/ghodss/yaml v1.0.0
github.com/go-redis/redis v6.14.0+incompatible
github.com/go-sql-driver/mysql v1.4.0
github.com/golang/protobuf v1.2.0 // indirect
github.com/hpcloud/tail v1.0.0 // indirect
github.com/lib/pq v1.0.0
github.com/onsi/ginkgo v1.6.0 // indirect
github.com/onsi/gomega v1.4.1 // indirect
github.com/pkg/errors v0.8.0
github.com/romanyx/jwalk v1.0.0
github.com/stretchr/testify v1.2.2
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d // indirect
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f // indirect
golang.org/x/sys v0.0.0-20180831094639-fa5fdf94c789 // indirect
golang.org/x/text v0.3.0 // indirect
google.golang.org/appengine v1.1.0 // indirect
gopkg.in/fsnotify.v1 v1.4.7 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v2 v2.2.1 // indirect
)

0 comments on commit 606a42e

Please sign in to comment.