Move linters to separate step ran only on py3.6
@@ -4,13 +4,16 @@ python:
- 3.6
install:
- python setup.py install
- - pip install mypy pylint pytest pytest-cov
- - if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install black; fi
- - pip install codecov
+ - pip install pytest pytest-cov codecov
script:
- pytest --cov
- - pylint ariadne tests
- - mypy ariadne --ignore-missing-imports
- - if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then black --check ariadne tests; fi
after_success:
- codecov
+matrix:
+ include:
+ - python: 3.6
+ script:
+ - pip install black mypy pylint
+ - pylint ariadne tests
+ - mypy ariadne --ignore-missing-imports
+ - black --check ariadne tests
\ No newline at end of file
