dotfiles/.circleci/config.yml

19 lines
556 B
YAML
Raw Normal View History

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" }}
- 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