Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

Commit

Permalink
ci: install Pipenv from python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
redshiftzero committed Feb 11, 2020
1 parent 2f15ab1 commit 22cb3d8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .circleci/config.yml
Expand Up @@ -16,9 +16,9 @@ jobs:
name: Install dependencies
command: |
set -e
sudo pip install pipenv
pip3 install pipenv
pipenv install --dev --skip-lock
pipenv run pip freeze
pipenv run pip3 freeze
- save_cache:
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
paths:
Expand All @@ -34,6 +34,7 @@ jobs:
- run:
name: Check for known CVEs
command: pipenv check

test-against-latest-api:
working_directory: ~/project
machine:
Expand All @@ -45,7 +46,8 @@ jobs:
- run:
name: Install dependencies
command: |
sudo pip install pipenv
pyenv global 3.5.2
pip3 install pipenv
pipenv install --dev --skip-lock
pipenv run pip freeze
- run:
Expand All @@ -56,7 +58,7 @@ jobs:
command: |
cd securedrop
NUM_SOURCES=5 make -C securedrop dev
background: true
background: true
- run: # As suggested in https://discuss.circleci.com/t/prevent-race-conditions-by-waiting-for-services-with-dockerize/11215
name: Install dockerize
command: |
Expand Down

0 comments on commit 22cb3d8

Please sign in to comment.