Skip to content

Commit

Permalink
Merge pull request #361 from graphql-go/circleci
Browse files Browse the repository at this point in the history
ci: replaces travisci with circleci
  • Loading branch information
chris-ramon authored Jul 19, 2018
2 parents bce6c5b + f869c72 commit 20f65ab
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 21 deletions.
41 changes: 41 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
defaults: &defaults
working_directory: /go/src/github.com/graphql-go/graphql
steps:
- checkout
- run: go get -v -t -d ./...
- run: go test ./...
- run: go vet ./...

version: 2
jobs:
golang:1.8.7:
<<: *defaults
docker:
- image: circleci/golang:1.8.7
golang:1.9.7:
<<: *defaults
docker:
- image: circleci/golang:1.9.7
golang:latest:
<<: *defaults
docker:
- image: circleci/golang:latest
coveralls:
working_directory: /go/src/github.com/graphql-go/graphql
docker:
- image: circleci/golang:latest
steps:
- checkout
- run: go get -v -t -d ./...
- run: go get github.com/mattn/goveralls
- run: go test -v -cover -race -coverprofile=coverage.out
- run: /go/bin/goveralls -coverprofile=coverage.out -service=circle-ci -repotoken $COVERALLS_TOKEN

workflows:
version: 2
build:
jobs:
- golang:1.8.7
- golang:1.9.7
- golang:latest
- coveralls
20 changes: 0 additions & 20 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,4 +1,4 @@
# graphql [![Build Status](https://travis-ci.org/graphql-go/graphql.svg)](https://travis-ci.org/graphql-go/graphql) [![GoDoc](https://godoc.org/graphql.co/graphql?status.svg)](https://godoc.org/github.com/graphql-go/graphql) [![Coverage Status](https://coveralls.io/repos/graphql-go/graphql/badge.svg?branch=master&service=github)](https://coveralls.io/github/graphql-go/graphql?branch=master) [![Join the chat at https://gitter.im/graphql-go/graphql](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/graphql-go/graphql?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
# graphql [![CircleCI](https://circleci.com/gh/graphql-go/graphql/tree/master.svg?style=svg)](https://circleci.com/gh/graphql-go/graphql/tree/master) [![GoDoc](https://godoc.org/graphql.co/graphql?status.svg)](https://godoc.org/github.com/graphql-go/graphql) [![Coverage Status](https://coveralls.io/repos/graphql-go/graphql/badge.svg?branch=master&service=github)](https://coveralls.io/github/graphql-go/graphql?branch=master) [![Join the chat at https://gitter.im/graphql-go/graphql](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/graphql-go/graphql?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

An implementation of GraphQL in Go. Follows the official reference implementation [`graphql-js`](https://github.com/graphql/graphql-js).

Expand Down

0 comments on commit 20f65ab

Please sign in to comment.