Skip to content

Commit

Permalink
Adding and fixing files which got missed out
Browse files Browse the repository at this point in the history
  • Loading branch information
anandswaminathan committed May 30, 2019
1 parent 6fdd92f commit 941aa95
Show file tree
Hide file tree
Showing 3 changed files with 170 additions and 4 deletions.
120 changes: 116 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,119 @@

# Temporary Build Files
tmp/_output
tmp/_test


# Created by https://www.gitignore.io/api/go,vim,emacs,visualstudiocode

### Emacs ###
# -*- mode: gitignore; -*-
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*

# Org-mode
.org-id-locations
*_archive

# flymake-mode
*_flymake.*

# eshell files
/eshell/history
/eshell/lastdir

# elpa packages
/elpa/

# reftex files
*.rel

# AUCTeX auto folder
/auto/

# cask packages
.cask/
dist/

# Flycheck
flycheck_*.el

# server auth directory
/server/

# projectiles files
.projectile
projectile-bookmarks.eld

# directory configuration
.dir-locals.el

# saveplace
places

# url cache
url/cache/

# cedet
ede-projects.el

# smex
smex-items

# company-statistics
company-statistics-cache.el

# anaconda-mode
anaconda-mode/

### Go ###
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib

# Test binary, build with 'go test -c'
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

### Vim ###
# swap
.sw[a-p]
.*.sw[a-p]
# session
Session.vim
# temporary
.netrwhist
# auto-generated tag files
tags

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history


# End of https://www.gitignore.io/api/go,vim,emacs,visualstudiocode
.idea
vendor
bin


.idea/
.DS_Store
.vscode/
.vendor-new/

*.iml
vendor/
node_modules/
examples/wordcount/target/
25 changes: 25 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
run:
skip-dirs:
- pkg/client
- vendor/
linters:
disable-all: true
enable:
- deadcode
- errcheck
- gas
- goconst
- goimports
- golint
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- staticcheck
- structcheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
29 changes: 29 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
sudo: required
language: go
dist: xenial
cache:
directories:
- $GOPATH/pkg/dep
go:
- "1.10"
services:
- docker
jobs:
include:
- stage: build
name: docker build and push
install: true
script: make dockerhub_push
- stage: build
name: unit tests
install: make install
script: make test_unit
- stage: build
install: make install
name: lint
script: make lint
- stage: integ-test
name: integration tests
install: integ/install.sh
before_script: integ/setup.sh
script: "sudo -E \"PATH=$PATH\" integ/test.sh"

0 comments on commit 941aa95

Please sign in to comment.