A .circleci/config.yml => .circleci/config.yml +60 -0
@@ 0,0 1,60 @@
+version: 2.0
+
+jobs:
+ # Base test configuration for Go library tests Each distinct version should
+ # inherit this base, and override (at least) the container image used.
+ "test": &test
+ docker:
+ - image: circleci/golang:latest
+ working_directory: /go/src/github.com/gorilla/feeds
+ steps: &steps
+ - checkout
+ - run: go version
+ - run: go get -t -v ./...
+ - run: diff -u <(echo -n) <(gofmt -d .)
+ - run: if [[ "$LATEST" = true ]]; then go vet -v .; fi
+ - run: go test -v -race ./...
+
+ "latest":
+ <<: *test
+ environment:
+ LATEST: true
+
+
+ "1.12":
+ <<: *test
+ docker:
+ - image: circleci/golang:1.12
+
+ "1.11":
+ <<: *test
+ docker:
+ - image: circleci/golang:1.11
+
+ "1.10":
+ <<: *test
+ docker:
+ - image: circleci/golang:1.10
+
+ "1.9":
+ <<: *test
+ docker:
+ - image: circleci/golang:1.9
+
+ "1.8":
+ <<: *test
+ docker:
+ - image: circleci/golang:1.8
+
+
+
+workflows:
+ version: 2
+ build:
+ jobs:
+ - "latest"
+ - "1.12"
+ - "1.11"
+ - "1.10"
+ - "1.9"
+ - "1.8"
D .travis.yml => .travis.yml +0 -16
@@ 1,16 0,0 @@
-language: go
-sudo: false
-matrix:
- include:
- - go: 1.8
- - go: 1.9
- - go: "1.10"
- - go: 1.x
- - go: tip
- allow_failures:
- - go: tip
-script:
- - go get -t -v ./...
- - diff -u <(echo -n) <(gofmt -d -s .)
- - go vet .
- - go test -v -race ./...
M README.md => README.md +1 -1
@@ 1,6 1,6 @@
## gorilla/feeds
[![GoDoc](https://godoc.org/github.com/gorilla/feeds?status.svg)](https://godoc.org/github.com/gorilla/feeds)
-[![Build Status](https://travis-ci.org/gorilla/feeds.svg?branch=master)](https://travis-ci.org/gorilla/feeds)
+[![CircleCI](https://circleci.com/gh/gorilla/feeds.svg?style=svg)](https://circleci.com/gh/gorilla/feeds)
feeds is a web feed generator library for generating RSS, Atom and JSON feeds from Go
applications.