mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-29 15:16:54 +08:00
This removes the indirection of setting environment variables to install and run tests. Also, use an explicit version for running mypy with typed-ast.
26 lines
769 B
YAML
26 lines
769 B
YAML
dist: bionic
|
|
language: python
|
|
python: 3.7
|
|
|
|
jobs:
|
|
include:
|
|
- name: "pytype"
|
|
python: 3.6
|
|
install: pip install -r requirements-tests-py3.txt
|
|
script: ./tests/pytype_test.py
|
|
- name: "mypy (typed-ast)"
|
|
python: 3.7
|
|
install: pip install -U git+git://github.com/python/mypy git+git://github.com/python/typed_ast
|
|
script: ./tests/mypy_test.py
|
|
- name: "mypy (ast)"
|
|
python: 3.8-dev
|
|
install: pip install -U git+git://github.com/python/mypy
|
|
script: ./tests/mypy_test.py
|
|
- name: "mypy self test"
|
|
script: ./tests/mypy_selftest.py
|
|
- name: "check file consistency"
|
|
script: ./tests/check_consistent.py
|
|
- name: "flake8"
|
|
install: pip install -r requirements-tests-py3.txt
|
|
script: flake8
|