Skip to content

Commit fa0a5c6

Browse files
committed
BNCASB-2204: Remove caching in circleci job.
Pipenv fails to resolve few sub-depedencies
1 parent 5e1c811 commit fa0a5c6

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

.circleci/config.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,37 @@ workflows:
55
jobs:
66
- test-python-3
77
- test-python-2
8+
- test-python-3-6
89
jobs:
9-
test-python-3:
10+
test-python-3: &test-template
1011
docker:
1112
- image: circleci/python:3.5-jessie
1213
steps:
1314
- add_ssh_keys
1415
- checkout
1516
- run:
1617
name: Install dependencies
17-
command: sudo pip install -r development.txt
18+
command: |
19+
sudo pip install -r development.txt
1820
- run:
1921
name: Run tests
20-
command: python -m django test --settings=eb_sqs.test_settings
22+
command: |
23+
python -m django test --settings=eb_sqs.test_settings
2124
test-python-2:
2225
docker:
2326
- image: circleci/python:2.7-jessie
2427
steps:
2528
- add_ssh_keys
2629
- checkout
27-
- restore_cache:
28-
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
2930
- run:
3031
name: Install dependencies
3132
command: |
32-
sudo pip install pipenv
33-
pipenv install -r development.txt
34-
- save_cache:
35-
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
36-
paths:
37-
- "/usr/local/bin"
38-
- "/usr/local/lib/python2.7/site-packages"
33+
sudo pip install -r development.txt
3934
- run:
4035
name: Run tests
4136
command: |
42-
pipenv run python -m django test --settings=eb_sqs.test_settings
37+
python -m django test --settings=eb_sqs.test_settings
38+
test-python-3-6:
39+
<<: *test-template
40+
docker:
41+
- image: circleci/python:3.6-jessie

0 commit comments

Comments
 (0)