dotfiles/.circleci/config.yml
2018-09-11 20:43:16 +01:00

19 lines
593 B
YAML

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