From 9c83eeb0c55a808c655c3e431c892824776b1f4a Mon Sep 17 00:00:00 2001 From: tuck1s Date: Wed, 18 Mar 2020 17:10:31 +0000 Subject: [PATCH] Add Travis yml and badge --- .travis.yml | 10 ++++++++++ README.md | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..20101a4 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: go +sudo: false +go: + - tip +before_install: + - go get github.com/mattn/goveralls +services: + - +script: + - $GOPATH/bin/goveralls -service=travis-ci diff --git a/README.md b/README.md index 48dd0b2..bf46d13 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ # go-smtpproxy + +[![Build Status](https://travis-ci.org/tuck1s/go-smtpproxy.svg?branch=master)](https://travis-ci.org/tuck1s/go-smtpproxy) +[![Coverage Status](https://coveralls.io/repos/github/tuck1s/go-smtpproxy/badge.svg?branch=master)](https://coveralls.io/github/tuck1s/go-smtpproxy?branch=master) + Go package, based heavily on [emersion's go-gmtp](https://github.com/emersion/go-smtp), with increased transparency of response codes and no sasl dependency. The purpose of this is to provide functions that act as a server to receive SMTP messages from your downstream client. These SMTP messages are relayed through to an upstream server.