Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit 6f21ebc

Browse files
committed
Merge pull request #39 from shurcooL/add-travis-ci
Add .travis.yml config and badge.
2 parents 41d86b9 + 5b22f64 commit 6f21ebc

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

‎.travis.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
sudo: false
2+
language: go
3+
go:
4+
- 1.6
5+
- tip
6+
matrix:
7+
allow_failures:
8+
- go: tip
9+
fast_finish: true
10+
install:
11+
- # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step).
12+
script:
13+
- go get -t -v ./...
14+
- diff -u <(echo -n) <(gofmt -d -s .)
15+
- go tool vet .
16+
- go test -v -race ./...

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
httpcache
22
=========
33

4+
[![Build Status](https://travis-ci.org/gregjones/httpcache.svg?branch=master)](https://travis-ci.org/gregjones/httpcache)
5+
46
A Transport for Go's http.Client that will cache responses according to the HTTP RFC
57

68
Package httpcache provides a http.RoundTripper implementation that works as a mostly RFC-compliant cache for http responses.

0 commit comments

Comments
 (0)