version: 2.0
jobs:
build:
docker:
- image: circleci/python:3.5
steps:
- checkout
- restore_cache:
key: cache-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
- run: pipenv install -d
- save_cache:
paths:
- "/home/circleci/.local/share/virtualenvs"
- run: pipenv run test