From 8981c170254198e50e9253312bcf1c529898bd54 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 18 Nov 2019 11:49:56 +0800 Subject: [PATCH] Add drone and README --- .drone.yml | 24 ++++++++++++++++++++++++ README.md | 19 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 .drone.yml create mode 100644 README.md diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..e55afaa --- /dev/null +++ b/.drone.yml @@ -0,0 +1,24 @@ +kind: pipeline +name: go1-1-2 + +steps: +- name: test + image: golang:1.12 + environment: + GOPROXY: https://goproxy.cn + commands: + - go build -v + - go test -v -race -coverprofile=coverage.txt -covermode=atomic + +--- +kind: pipeline +name: go1-1-3 + +steps: +- name: test + image: golang:1.13 + environment: + GOPROXY: https://goproxy.cn + commands: + - go build -v + - go test -v -race -coverprofile=coverage.txt -covermode=atomic \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e09c4a9 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# gzip + +Middleware gzip provides gzip comparess middleware for [Macaron](https://gitea.com/macaron/macaron). + +### Installation + + go get gitea.com/macaron/gzip + +## Getting Help + +- [API Reference](https://godoc.org/gitea.com/macaron/gzip) + +## Credits + +This package is a modified version of [go-macaron gzip](github.com/go-macaron/gzip). + +## License + +This project is under the Apache License, Version 2.0. See the [LICENSE](LICENSE) file for the full license text. \ No newline at end of file -- 2.40.1