Skip to content

Commit 2ef1cac

Browse files
committed
Add Travis configuration and badges (#13)
1 parent c40a233 commit 2ef1cac

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Adds [GraphQL] support to your [aiohttp] application.
33

44
Based on [flask-graphql] by [Syrus Akbary] and [sanic-graphql] by [Sergey Porivaev].
55

6+
[![PyPI version](https://badge.fury.io/py/aiohttp-graphql.svg)](https://badge.fury.io/py/aiohttp-graphql)
7+
[![Build Status](https://github.com/graphql-python/aiohttp-graphql.svg?branch=master)](https://github.com/graphql-python/aiohttp-graphql)
8+
[![Coverage Status](https://github.com/graphql-python/aiohttp-graphql/branch/master/graph/badge.svg)](https://github.com/graphql-python/aiohttp-graphql)
9+
610
## Usage
711
Just use the `GraphQLView` view from `aiohttp_graphql`
812

travis.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
language: python
2+
os:
3+
- linux
4+
python:
5+
- 3.6
6+
- 3.7
7+
- 3.8
8+
- pypy3
9+
cache:
10+
directories:
11+
- $HOME/.cache/pip
12+
install:
13+
- pip install -e .[test]
14+
- pip install pytest-cov codecov
15+
script:
16+
- python -m pytest --cov-branch --cov=aiohttp_graphql --cov-report=term-missing
17+
after_success:
18+
- codecov

0 commit comments

Comments
 (0)