Skip to content

Commit

Permalink
Do this in a virtualenv
Browse files Browse the repository at this point in the history
  • Loading branch information
danpalmer committed Jan 3, 2018
1 parent ab65335 commit f62641f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,17 @@ jobs:
# Set up a cached virtualenv in which to install tox
- restore_cache:
name: Restore build dependency cache
key: deps-venv-{{ .Branch }}-2.9.1
key: deps-venv-{{ .Branch }}-2.9.1-1.2.0
- run:
name: Install tox
command: |
python3 -m venv venv
. venv/bin/activate
pip install tox==2.9.1
pip install coveralls==1.2.0
- save_cache:
name: Save build dependency cache
key: deps-venv-{{ .Branch }}-2.9.1
key: deps-venv-{{ .Branch }}-2.9.1-1.2.0
paths:
- "venv"

Expand Down Expand Up @@ -65,7 +66,7 @@ jobs:
- run:
name: Report coverage
command: |
pip install coveralls
. venv/bin/activate
coveralls
deploy:
Expand Down

0 comments on commit f62641f

Please sign in to comment.