mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-16 06:52:02 +08:00
I've made mistakes in #4069 and #4010 that would have been caught by this, so seems worth it to add now, and continue to remove from whitelists. Note that we run with --ignore-missing-stub in CI, so this whitelist isn't all the changes we'd need to fully support Python 3.9 Co-authored-by: hauntsaninja <>
52 lines
1.8 KiB
YAML
52 lines
1.8 KiB
YAML
dist: bionic
|
|
language: python
|
|
python: 3.8
|
|
|
|
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 --platform=linux
|
|
- name: "mypy (ast)"
|
|
python: 3.8
|
|
install: pip install -U git+git://github.com/python/mypy
|
|
script: ./tests/mypy_test.py --platform=linux
|
|
- name: "mypy (Windows)"
|
|
install: pip install -U git+git://github.com/python/mypy
|
|
script: ./tests/mypy_test.py --platform=win32
|
|
- name: "mypy (Darwin)"
|
|
install: pip install -U git+git://github.com/python/mypy
|
|
script: ./tests/mypy_test.py --platform=darwin
|
|
- 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
|
|
- name: "stubtest py39"
|
|
python: 3.9-dev
|
|
install: pip install -U git+git://github.com/python/mypy@b3d43984
|
|
script: ./tests/stubtest_test.py
|
|
- name: "stubtest py38"
|
|
python: 3.8
|
|
install: pip install -U git+git://github.com/python/mypy@b3d43984
|
|
script: ./tests/stubtest_test.py
|
|
- name: "stubtest py37"
|
|
python: 3.7
|
|
install: pip install -U git+git://github.com/python/mypy@b3d43984
|
|
script: ./tests/stubtest_test.py
|
|
- name: "stubtest py36"
|
|
python: 3.6
|
|
install: pip install -U git+git://github.com/python/mypy@b3d43984
|
|
script: ./tests/stubtest_test.py
|
|
- name: "stubtest py35"
|
|
python: 3.5
|
|
install: pip install -U git+git://github.com/python/mypy@b3d43984
|
|
script: ./tests/stubtest_test.py
|