Skip to content

Commit

Permalink
[travis] Install everything but mypy from requirements on Py 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
srittau committed Nov 12, 2017
1 parent 364338e commit a115fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ python:
- "3.5"
- "3.6"
install:
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1` = 3; then pip install -r requirements.txt; else pip install asserts==0.8.0; fi
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1` = 3; then pip install -r requirements.txt; else pip install `grep -v mypy requirements.txt`; fi
script:
- python -m unittest discover -t . -s test_htmlgen -p "*.py"
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1` = 3; then mypy htmlgen test_htmlgen; fi

0 comments on commit a115fde

Please sign in to comment.