Files
typeshed/.travis.yml
Rebecca Chen a651e2f3cd Update pytype_test to remove now-unnecessary parse-only functionality. (#2897)
With today's release, pytype is able to fully load
stdlib/3/collections/__init__.pyi, so the test no longer needs the
ability to partially parse stubs using the pytd tool. Removing this
functionality allows the test code to be simplified considerably.
2019-04-03 12:47:20 -07:00

31 lines
771 B
YAML

dist: xenial
language: python
python: 3.7
matrix:
include:
- name: "pytype"
python: 3.6
env:
- TEST_CMD="./tests/pytype_test.py"
- INSTALL="test"
- name: "mypy"
env:
- TEST_CMD="./tests/mypy_test.py"
- INSTALL="mypy"
- name: "mypy self test"
env: TEST_CMD="./tests/mypy_selftest.py"
- name: "check file consistency"
env: TEST_CMD="./tests/check_consistent.py"
- name: "flake8"
env:
- TEST_CMD="flake8"
- INSTALL="test"
install:
- if [[ $INSTALL == 'test' ]]; then pip install -r requirements-tests-py3.txt; fi
- if [[ $INSTALL == 'mypy' ]]; then pip install -U git+git://github.com/python/mypy git+git://github.com/python/typed_ast; fi
script:
- $TEST_CMD