Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
move to TravisCI
Browse files Browse the repository at this point in the history
  • Loading branch information
im-kulikov committed Feb 26, 2019
1 parent de0db90 commit 0063555
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 42 deletions.
40 changes: 0 additions & 40 deletions .circleci/config.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
language: go
go:
- 1.11.x
- 1.12.x
env:
- GO111MODULE=on
install:
- go get -v golang.org/x/lint/golint
- go mod tidy -v
script:
- golint -set_exit_status ./...
- go test -coverprofile=coverage.txt -covermode=atomic ./...
after_success:
- bash <(curl -s https://codecov.io/bash)
matrix:
allow_failures:
- go: tip
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Helium

![Codecov](https://img.shields.io/codecov/c/github/im-kulikov/helium.svg?style=flat-square)
![CircleCI (all branches)](https://img.shields.io/circleci/project/github/im-kulikov/helium.svg?style=flat-square)
[![Build Status](https://travis-ci.com/im-kulikov/helium.svg?branch=master)](https://travis-ci.com/im-kulikov/helium)
[![Report](https://goreportcard.com/badge/github.com/im-kulikov/helium)](https://goreportcard.com/report/github.com/im-kulikov/helium)
[![GitHub release](https://img.shields.io/github/release/im-kulikov/helium.svg)](https://github.com/im-kulikov/helium)
![GitHub](https://img.shields.io/github/license/im-kulikov/helium.svg?style=popout)
Expand Down
2 changes: 1 addition & 1 deletion examples/demo4/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func handler() http.Handler {
return h
}

func runner(s mserv.Server, l *zap.Logger, ctx context.Context) {
func runner(ctx context.Context, s mserv.Server, l *zap.Logger) {
l.Info("run servers")
s.Start()

Expand Down

0 comments on commit 0063555

Please sign in to comment.