Skip to content

Commit

Permalink
Merge pull request #3 from utahta/add-circleci
Browse files Browse the repository at this point in the history
Add circleci 2.0
  • Loading branch information
utahta authored Feb 18, 2018
2 parents 786afa5 + b0b4c4c commit bff2d71
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 16 deletions.
48 changes: 48 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
version: 2.0

jobs:
"go-1.8":
docker:
- image: circleci/golang:1.8
working_directory: /go/src/github.com/utahta/go-cronowriter
steps:
- checkout
- run: go get github.com/golang/dep/cmd/dep
- run: make install
- run:
name: Run tests and coverage
command: |
make test-coverage
bash <(curl -s https://codecov.io/bash)
"go-1.9":
docker:
- image: circleci/golang:1.9
working_directory: /go/src/github.com/utahta/go-cronowriter
steps:
- checkout
- run: go get github.com/golang/dep/cmd/dep
- run: make install
- run:
name: Run tests
command: make test

"go-1.10":
docker:
- image: circleci/golang:1.10
working_directory: /go/src/github.com/utahta/go-cronowriter
steps:
- checkout
- run: go get github.com/golang/dep/cmd/dep
- run: make install
- run:
name: Run tests
command: make test

workflows:
version: 2
build:
jobs:
- "go-1.8"
- "go-1.9"
- "go-1.10"
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# cronowriter

[![GoDoc Reference](https://godoc.org/github.com/utahta/go-cronowriter?status.svg)](http://godoc.org/github.com/utahta/go-cronowriter)
[![Build Status](https://travis-ci.org/utahta/go-cronowriter.svg?branch=master)](https://travis-ci.org/utahta/go-cronowriter)
[![CircleCI](https://circleci.com/gh/utahta/go-cronowriter.svg?style=svg)](https://circleci.com/gh/utahta/go-cronowriter)
[![codecov](https://codecov.io/gh/utahta/go-cronowriter/branch/master/graph/badge.svg)](https://codecov.io/gh/utahta/go-cronowriter)
[![Go Report Card](https://goreportcard.com/badge/github.com/utahta/go-cronowriter)](https://goreportcard.com/report/github.com/utahta/go-cronowriter)
[![GitHub release](https://img.shields.io/github/release/utahta/go-cronowriter.svg)](https://github.com/utahta/go-cronowriter/releases)
Expand Down

0 comments on commit bff2d71

Please sign in to comment.