Skip to content

Commit

Permalink
fix conditional pip install for python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
robromano committed Nov 29, 2020
1 parent 70b3d0b commit 908743e
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 @@ -24,7 +24,7 @@ env:
install:
- pip install -q $DJANGO
- pip install codecov
# - "if python --version 2>&1 | grep -q ' 2\.7\.'; then pip install ipaddress ; fi"
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install ipaddress; fi

script:
- PYTHONPATH=$PYTHONPATH:$PWD coverage run `which django-admin.py` test adminrestrict --settings=adminrestrict.test_settings
Expand Down

0 comments on commit 908743e

Please sign in to comment.