Skip to content

Run mypy self-check only once #4006

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 26, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ python:
- "3.5.1"
- "3.6"
- "3.7-dev"
# Pypy build is disabled because it doubles the travis build time, and it rarely fails
# unless one one of the other builds fails.
# - "pypy3"

install:
- pip install -U pip setuptools wheel
Expand All @@ -20,5 +17,6 @@ install:
- pip install .

script:
- python runtests.py -j12 -x lint
- python runtests.py -j12 -x lint -x package
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then flake8; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.5.1' ]]; then python runtests.py package; fi
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ install:
build: off

test_script:
# Ignore lint (it's run in Travis)
- "%PYTHON%\\python.exe runtests.py -x lint"
# Ignore lint and mypy self check (both run in Travis)
- "%PYTHON%\\python.exe runtests.py -x lint -x package"

skip_commits:
files:
Expand Down