Skip to content

Commit b2060fb

Browse files
committed
Better venv management.
1 parent 34c3d5b commit b2060fb

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.circleci/config.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ version: 2.1
44

55
executors:
66
python-27: {docker: [{image: 'circleci/python:2.7'}]}
7-
python-33: {docker: [{image: 'circleci/python:3.3'}]}
87
python-34: {docker: [{image: 'circleci/python:3.4'}]}
98
python-35: {docker: [{image: 'circleci/python:3.5'}]}
109
python-36: {docker: [{image: 'circleci/python:3.6'}]}
@@ -19,14 +18,15 @@ jobs:
1918
working_directory: ~/repo
2019
steps:
2120
- checkout
21+
- run: env
2222
- restore_cache:
2323
keys:
24-
- v1-dependencies-<< parameters.executor >>-{{ checksum "requirements.txt" }}
25-
- v1-dependencies-<< parameters.executor >>
24+
- v1-dependencies-{{ checksum "requirements.txt" }}
2625
- run:
2726
name: install dependencies
2827
command: |
29-
python -m venv venv
28+
pip install virtualenv
29+
virtualenv venv
3030
. venv/bin/activate
3131
python setup.py install
3232
- save_cache:
@@ -43,7 +43,6 @@ workflows:
4343
run-tests:
4444
jobs:
4545
- build: {name: run-tests-python-2.7, executor: python-27}
46-
- build: {name: run-tests-python-3.3, executor: python-33}
4746
- build: {name: run-tests-python-3.5, executor: python-34}
4847
- build: {name: run-tests-python-3.5, executor: python-35}
4948
- build: {name: run-tests-python-3.6, executor: python-36}

0 commit comments

Comments
 (0)