2017-08-12 19:14:15 +01:00
|
|
|
version: 2.0
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
docker:
|
2018-09-10 20:45:36 +01:00
|
|
|
- image: circleci/python:latest
|
2017-08-12 19:14:15 +01:00
|
|
|
working_directory: ~/dotfiles
|
|
|
|
steps:
|
|
|
|
- checkout
|
2018-09-10 21:13:54 +01:00
|
|
|
- restore_cache:
|
|
|
|
key: cache-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
|
2018-09-10 20:52:27 +01:00
|
|
|
- run: pipenv install
|
2018-09-10 21:13:54 +01:00
|
|
|
- save_cache:
|
|
|
|
key: cache-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
|
|
|
|
paths:
|
|
|
|
- "/home/circleci/.local/share/virtualenvs"
|
2018-09-10 20:45:36 +01:00
|
|
|
- run: pipenv run test
|
2018-09-10 21:11:01 +01:00
|
|
|
- run: pipenv run check
|
2018-09-11 20:43:16 +01:00
|
|
|
- run: pipenv run dryrun
|