Skip to content

Commit a8ad816

Browse files
committed
Update build script
1 parent e225b44 commit a8ad816

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.circleci/config.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- checkout
1313
- restore_cache:
1414
keys:
15-
- v1-dependencies-<< parameters.python >>-{{ checksum "requirements.txt" }}-{{ checksum "requirements-dev.txt" }}
15+
- v1-dependencies-<< parameters.python >>-{{ checksum "setup.py" }}
1616
# fallback to using the latest cache if no exact match is found
1717
- v1-dependencies-<< parameters.python >>--
1818
- run:
@@ -21,8 +21,7 @@ jobs:
2121
pip install virtualenv
2222
virtualenv venv
2323
source venv/bin/activate
24-
pip install -r requirements.txt
25-
pip install -r requirements-dev.txt
24+
pip install .[dev]
2625
- run:
2726
name: Run Unit Tests
2827
command: |
@@ -37,7 +36,7 @@ jobs:
3736
- save_cache:
3837
paths:
3938
- ./venv
40-
key: v1-dependencies-<< parameters.python >>-{{ checksum "requirements.txt" }}-{{ checksum "requirements-dev.txt" }}
39+
key: v1-dependencies-<< parameters.python >>-{{ checksum "setup.py" }}
4140

4241
workflows:
4342
python-v2.7:

0 commit comments

Comments
 (0)