Skip to content

Commit

Permalink
Attempt workaround for virtualenv 20.0 failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Feb 10, 2020
1 parent e53e797 commit f3622eb
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .travis.yml
Expand Up @@ -82,13 +82,18 @@ before_install:
fi
install:
- pip install -U pip setuptools
- pip install -U coveralls coverage
- pip install -U -e ".[test]"
# virtualenv 20.0 together with terryfy macOS is broken, at least
# with CPython 2.7.17:
# it doesn't install or activate the virtualenv correctly and PATH
# isn't setup right. So try to use `python -m` to workaround that.
- python -m pip install -U pip setuptools
- python -m pip install -U coveralls coverage
- python -m pip install -U -e ".[test]"

script:
- which python
- python --version
- coverage run -m unittest discover -s src
- python -m coverage run -m unittest discover -s src
- python setup.py -q bdist_wheel

after_success:
Expand Down

0 comments on commit f3622eb

Please sign in to comment.