Skip to content

Commit 21a6753

Browse files
committed
Improve Travis configuration file and fix file name
1 parent 2c08dd8 commit 21a6753

File tree

2 files changed

+30
-18
lines changed

2 files changed

+30
-18
lines changed

.travis.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
language: python
2+
matrix:
3+
include:
4+
- name: Code quality tests
5+
env: TOXENV=black,flake8,pylint,manifest
6+
python: 3.8
7+
- name: Unit tests with Python 3.8
8+
env: TOXENV=py38
9+
python: 3.8
10+
- name: Unit tests with Python 3.7
11+
env: TOXENV=py37
12+
python: 3.7
13+
- name: Unit tests with Python 3.6
14+
env: TOXENV=py36
15+
python: 3.6
16+
- name: Unit tests with PyPy 3
17+
env: TOXENV=pypy3
18+
python: pypy3
19+
cache:
20+
directories:
21+
- "$HOME/.cache/pip"
22+
- "$TRAVIS_BUILD_DIR/.tox"
23+
install:
24+
- pip install tox
25+
- pip install -e .[test]
26+
- pip install pytest-cov codecov
27+
script:
28+
- tox -e $TOXENV -- --cov-branch --cov-report=term-missing --cov=aiohttp_graphql
29+
after_success:
30+
- codecov

travis.yml

-18
This file was deleted.

0 commit comments

Comments
 (0)