Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update redigo lib, use Go modules #30

Merged
merged 1 commit into from
Nov 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Don't post huge reports.
# https://docs.codecov.io/docs/pull-request-comments
comment:
layout: "files"

# We don't care about anything that is not a Go file or generated files.
# https://docs.codecov.io/docs/ignoring-paths
ignore: ["!*.go", "**/generated_*.go", "factory/factorygen/main.go"]
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# http://EditorConfig.org

root = true

[*]
charset = utf-8
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

[*.{go,sh}]
indent_style = tab

[*.{yaml,yml}]
indent_size = 2
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Mark as generated so it won't show up in diffs etc.
/bin/* linguist-generated=true

# Mark files as modified so skel-go won't overwrite them on update.
/README.md skel-go-modified
/LICENSE skel-go-modified
/db/** skel-go-modified

# Git should not replace line breaks from generated snapshots from abide library.
*.snapshot binary
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
coverage.txt
.DS_Store
/vendor
/coverage.txt
.DS_Store
3 changes: 3 additions & 0 deletions .ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/vendor
/bin
/frontend/dist
26 changes: 18 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
language: go
go:
- 1.9.x
- 1.11.x
go_import_path: github.com/teamwork/middleware
notifications:
email: false
webhooks: http://tw-bot.teamworkops.com:8182/travis/buildstatus
install:
- ./bin/setup-travis
script:
- cd $HOME/gopath/src/github.com/teamwork/middleware
- ./bin/test
- ./bin/coverage
- ./bin/lint
cache:
directories:
- $HOME/.cache/go-build
- $HOME/gopath/bin

install: |
./bin/setup-travis

script: |
set -e
cd $HOME/gopath/src/github.com/teamwork/middleware
[ -f go.sum ] && export GO111MODULE=on ||:
./bin/coverage -race ./...
env GO111MODULE=off ./bin/lint ./...

before_cache: |
rm "$HOME/.cache/go-build/log.txt"
111 changes: 0 additions & 111 deletions Gopkg.lock

This file was deleted.

38 changes: 0 additions & 38 deletions Gopkg.toml

This file was deleted.

Loading