Skip to content

Commit e47bd35

Browse files
committed
Don't run mypy or doctests on Python 3.4
1 parent c87341b commit e47bd35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ install:
33
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1` = 3; then pip install -r requirements.txt; fi
44
script:
55
- python -m unittest test_asserts
6-
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1` = 3; then mypy asserts test_asserts.py; fi
7-
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1` = 3; then python -m doctest asserts/__init__.py; fi
6+
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1,2` \> 3.4; then mypy asserts test_asserts.py; fi
7+
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1,2` \> 3.4; then python -m doctest asserts/__init__.py; fi
88
jobs:
99
include:
1010
- stage: test

0 commit comments

Comments
 (0)