Skip to content

Commit a938ef9

Browse files
rchen152copybara-github
authored andcommitted
Don't run pytype in Python 3.5.
Copybara import of the project: -- eeef066 by Rebecca Chen <[email protected]>: Don't run pytype in Python 3.5. The next release of pytype drops support for running under Python 3.5: google/pytype#677. COPYBARA_INTEGRATE_REVIEW=google#296 from rchen152:drop35 eeef066 PiperOrigin-RevId: 347877059 Change-Id: I8b2e8acba3d3ce3ebc47612d7f136d7a643650d3
1 parent aa18534 commit a938ef9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ script:
1818
- pip install ipython
1919
- python -m pytest # Now run the tests with IPython.
2020
- pylint fire --ignore=test_components_py3.py,parser_fuzz_test.py,console
21-
- if [[ $TRAVIS_PYTHON_VERSION != 3.4 ]]; then
21+
- if [[ $TRAVIS_PYTHON_VERSION != 3.4 && \
22+
$TRAVIS_PYTHON_VERSION != 3.5 ]]; then
2223
pip install pytype;
2324
fi
2425
# Run type-checking, excluding files that define or use py3 features in py2.
@@ -27,6 +28,7 @@ script:
2728
fire/fire_test.py
2829
fire/inspectutils_test.py
2930
fire/test_components_py3.py;
30-
elif [[ $TRAVIS_PYTHON_VERSION != 3.4 ]]; then
31+
elif [[ $TRAVIS_PYTHON_VERSION != 3.4 && \
32+
$TRAVIS_PYTHON_VERSION != 3.5 ]]; then
3133
pytype;
3234
fi

0 commit comments

Comments
 (0)