Skip to content

Commit

Permalink
BNCASB-2204: Remove caching in circleci job.
Browse files Browse the repository at this point in the history
Pipenv fails to resolve few sub-depedencies
  • Loading branch information
rohandev committed Jan 7, 2020
1 parent 5e1c811 commit fa0a5c6
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,38 +5,37 @@ workflows:
jobs:
- test-python-3
- test-python-2
- test-python-3-6
jobs:
test-python-3:
test-python-3: &test-template
docker:
- image: circleci/python:3.5-jessie
steps:
- add_ssh_keys
- checkout
- run:
name: Install dependencies
command: sudo pip install -r development.txt
command: |
sudo pip install -r development.txt
- run:
name: Run tests
command: python -m django test --settings=eb_sqs.test_settings
command: |
python -m django test --settings=eb_sqs.test_settings
test-python-2:
docker:
- image: circleci/python:2.7-jessie
steps:
- add_ssh_keys
- checkout
- restore_cache:
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
- run:
name: Install dependencies
command: |
sudo pip install pipenv
pipenv install -r development.txt
- save_cache:
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
paths:
- "/usr/local/bin"
- "/usr/local/lib/python2.7/site-packages"
sudo pip install -r development.txt
- run:
name: Run tests
command: |
pipenv run python -m django test --settings=eb_sqs.test_settings
python -m django test --settings=eb_sqs.test_settings
test-python-3-6:
<<: *test-template
docker:
- image: circleci/python:3.6-jessie

0 comments on commit fa0a5c6

Please sign in to comment.