Skip to content

Commit

Permalink
Don't run mypy or doctests on Python 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
srittau committed Aug 31, 2018
1 parent c87341b commit e47bd35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ install:
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1` = 3; then pip install -r requirements.txt; fi
script:
- python -m unittest test_asserts
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1` = 3; then mypy asserts test_asserts.py; fi
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1` = 3; then python -m doctest asserts/__init__.py; fi
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1,2` \> 3.4; then mypy asserts test_asserts.py; fi
- 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
jobs:
include:
- stage: test
Expand Down

0 comments on commit e47bd35

Please sign in to comment.