Add circleci config
This commit is contained in:
parent
88622440e0
commit
bb8e54f4ae
1 changed files with 17 additions and 0 deletions
17
.circleci/config.yml
Normal file
17
.circleci/config.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
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 --dev
|
||||
- save_cache:
|
||||
key: cache-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
|
||||
paths:
|
||||
- "/home/circleci/.local/share/virtualenvs"
|
||||
- run: pipenv run test
|
Reference in a new issue