mirror of
https://github.com/kemko/reproxy.git
synced 2026-01-01 15:55:49 +03:00
* wip * resolve merge artifacts * full coverage for conductor * wire plugin conductor to main and proxy * wip, with separate match handler * split matching logic with another handler, add initial docs * move parts of proxy to handlers, add tests * add headers in to be sent to proxied url * merged from master * add example with docker compose * supress excesive debug reporting 0-9 disabled in docker * add plugin tests * randomize test port * lint: minor warns * lint: err shadow
21 lines
697 B
YAML
21 lines
697 B
YAML
language: go
|
|
|
|
go:
|
|
- "1.12.x"
|
|
|
|
install: true
|
|
|
|
before_install:
|
|
- export TZ=America/Chicago
|
|
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.13.2
|
|
- go get github.com/mattn/goveralls
|
|
- export PATH=$(pwd)/bin:$PATH
|
|
|
|
script:
|
|
- GO111MODULE=on go get ./...
|
|
- GO111MODULE=on go mod vendor
|
|
- GO111MODULE=on go test -v -mod=vendor -covermode=count -coverprofile=profile.cov ./... || travis_terminate 1;
|
|
- GO111MODULE=on go test -v -covermode=count -coverprofile=profile.cov ./... || travis_terminate 1;
|
|
- golangci-lint run || travis_terminate 1;
|
|
- $GOPATH/bin/goveralls -coverprofile=profile.cov -service=travis-ci
|