Badges and travis testing (#40)
* Added badges to the README * Restructured the travis config
This commit is contained in:
		
							parent
							
								
									2d68bd1ef9
								
							
						
					
					
						commit
						42a744d9e6
					
				
					 3 changed files with 33 additions and 17 deletions
				
			
		
							
								
								
									
										24
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								.travis.yml
									
									
									
									
									
								
							|  | @ -1,8 +1,6 @@ | |||
| language: go | ||||
| 
 | ||||
| go: | ||||
|   - 1.4 | ||||
|   - 1.5 | ||||
|   - 1.6 | ||||
|   - 1.7 | ||||
| 
 | ||||
|  | @ -14,17 +12,23 @@ before_install: | |||
| install: | ||||
|   - go get -t -v ./... | ||||
| 
 | ||||
| script:  | ||||
|   - go build -v -tags "pam" | ||||
|   - go test -v -cover -race ./... | ||||
| script: | | ||||
|   go build -v -tags "pam" | ||||
| 
 | ||||
|   for pkg in $(go list ./... | grep -v /vendor/) | ||||
|   do | ||||
|     go test -v -race -cover -coverprofile $GOPATH/src/$pkg/coverage.out $pkg || exit 1 | ||||
|   done | ||||
| 
 | ||||
| after_success: | ||||
|   - bash <(curl -s https://codecov.io/bash) | ||||
| 
 | ||||
| notifications: | ||||
|   email: | ||||
|     - u@gogs.io | ||||
|   slack: gophercn:o5pSanyTeNhnfYc3QnG0X7Wx | ||||
|   webhooks: | ||||
|     urls: | ||||
|       - https://webhooks.gitter.im/e/b590f8e03882f7aedc3e | ||||
|     on_success: change | ||||
|     on_failure: always | ||||
|     on_start: never | ||||
|     urls: | ||||
|       - https://webhooks.gitter.im/e/ee6b822f3cf54c98e70c | ||||
|       - https://webhooks.gitter.im/e/87428658ef177ce8a7e4 | ||||
|       - https://webhooks.gitter.im/e/a1d2b69804dfda72187e | ||||
|  |  | |||
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							|  | @ -1,5 +1,11 @@ | |||
| Gogs - Go Git Service [](https://travis-ci.org/gogits/gogs) [](https://crowdin.com/project/gogs) [](https://gitter.im/gogits/gogs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||||
| ===================== | ||||
| # Gitea - Git with a cup of tea | ||||
| 
 | ||||
| [](https://travis-ci.org/go-gitea/gitea) | ||||
| [](https://codecov.io/gh/go-gitea/gitea) | ||||
| [](https://goreportcard.com/report/github.com/go-gitea/gitea) | ||||
| [](https://godoc.org/github.com/go-gitea/gitea) | ||||
| [](http://microbadger.com/images/gitea/gitea "Get your own image badge on microbadger.com") | ||||
| [](https://gitter.im/go-gitea/gitea?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||||
| 
 | ||||
|  | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										10
									
								
								README_ZH.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README_ZH.md
									
									
									
									
									
								
							|  | @ -1,5 +1,11 @@ | |||
| Gogs - Go Git Service [](https://travis-ci.org/gogits/gogs) | ||||
| ===================== | ||||
| # Gitea - Git with a cup of tea | ||||
| 
 | ||||
| [](https://travis-ci.org/go-gitea/gitea) | ||||
| [](https://codecov.io/gh/go-gitea/gitea) | ||||
| [](https://goreportcard.com/report/github.com/go-gitea/gitea) | ||||
| [](https://godoc.org/github.com/go-gitea/gitea) | ||||
| [](http://microbadger.com/images/gitea/gitea "Get your own image badge on microbadger.com") | ||||
| [](https://gitter.im/go-gitea/gitea?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||||
| 
 | ||||
| Gogs (Go Git Service) 是一款极易搭建的自助 Git 服务。 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue