Skip to content

Commit

Permalink
add [issue and pull request templates](https://github.com/blog/2111-i…
Browse files Browse the repository at this point in the history
…ssue-and-pull-request-templates), the codebeat badge and a wercker.yml
  • Loading branch information
SimonWaldherr committed Feb 21, 2016
1 parent d0da7bd commit 6c028ca
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/CONTRIBUTING.md
@@ -0,0 +1,10 @@
Thank you for considering to contribute!

a Pull Request must comply to the following rules:

* ```go fmt``` your code
* make test cases (coverage above 50%)
* ```go test``` must successfully finish
* provide your code under a matching license
* you agree that your code will be published with the rest of this repo

26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE.md
@@ -0,0 +1,26 @@
# Steps to reproduce
1.
2.
3.

# Expected behavior
```
[root@localhost ~] $
```

# Actual behavior
```
[root@localhost ~] $
```

# Your system
* Architecture:
* OS:
* Go:
* ...
19 changes: 19 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,19 @@
# The PR contains
* [ ] Code
* [ ] Test cases
* [ ] Documentation
* [ ] Something else

# What does your Code
1.
2.
3.

# Did you read the [CONTRIBUTING.md](https://github.com/SimonWaldherr/golibs/blob/master/CONTRIBUTING.md)


# On which system have you tested
* Architecture:
* OS:
* Go:
* ...
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -21,6 +21,7 @@ go test ./...
![Linux Build Status](https://simonwaldherr.de/icon/tux.png) | [![Build status](https://magnum-ci.com/status/e9ccc5689f4135e4021475bfdf0cf527.png)](https://magnum-ci.com/public/c4dba43a1c41dbff557e/builds) | magnum-ci.com | just another ci service
![Linux Build Status](https://simonwaldherr.de/icon/tux1.png) | [![Build Status](https://semaphoreci.com/api/v1/projects/fe1a7a53-a2c0-4bc0-a539-4af4ef13d49f/487313/shields_badge.svg)](https://semaphoreci.com/simonwaldherr/golibs) | semaphoreci.com | yet another ci service
| [![Go Report Card](http://goreportcard.com/badge/simonwaldherr/golibs)](http://goreportcard.com/report/simonwaldherr/golibs) | goreportcard.com | report card
| [![codebeat badge](https://codebeat.co/badges/f697775a-ac7f-4d6f-a7a2-214fadf765d9)](https://codebeat.co/projects/github-com-simonwaldherr-golibs) | codebeat.co | code quality
| [![Coverage Status](https://img.shields.io/coveralls/SimonWaldherr/golibs.svg?style=flat-square)](https://coveralls.io/r/SimonWaldherr/golibs) | coveralls.io | test coverage
| [![codecov.io](http://codecov.io/github/SimonWaldherr/golibs/coverage.svg?branch=master)](http://codecov.io/github/SimonWaldherr/golibs?branch=master) | codecov.io | test coverage
| [![Coverage Status](https://img.shields.io/coveralls/SimonWaldherr/golibs.svg?style=flat-square)](https://simonwaldherr.de/gocover/golibs/) | | go tool cover
Expand Down
12 changes: 12 additions & 0 deletions wercker.yml
@@ -0,0 +1,12 @@
box: golang
build:
steps:
- setup-go-workspace
- script:
name: go get
code: |
go get -u -t simonwaldherr.de/go/golibs/...
- script:
name: go test
code: |
go test ./...

0 comments on commit 6c028ca

Please sign in to comment.