Skip to content
This repository has been archived by the owner on May 21, 2020. It is now read-only.

Commit

Permalink
Fix for circleci + virtualenv + pytest + tox
Browse files Browse the repository at this point in the history
(Similar issue here: tox-dev/tox#373 (comment))
  • Loading branch information
schwa committed Apr 3, 2017
1 parent 6ab7232 commit 9735ee6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ machine:
version: 8.3
pre:
# from https://discuss.circleci.com/t/virtualenv-error-on-osx-build/387/2
- sudo -H pip install --upgrade virtualenv
# Let's use a known sane python and not the system python (that we need to use sudo with)
- brew install python
- pip install --upgrade virtualenv
dependencies:
override:
- brew install libyaml
- brew install python
- brew install python3
- pip install -r requirements_test.txt
compile:
Expand Down
2 changes: 2 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[pytest]
#addopts = --doctest-modules --ignore setup.py --cov=punic --cov-report html
addopts = --doctest-modules --ignore setup.py
# Needed due to the way circleci sets up python virtual environments.
norecursedirs = dist build .tox venv
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ deps =
# TERM is also needed.
#passenv = TERM LC_ALL LANG
passenv = *

usedevelop = True

0 comments on commit 9735ee6

Please sign in to comment.