18 lines
556 B
YAML
18 lines
556 B
YAML
version: 2.0
|
|
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: circleci/python:3.7
|
|
environment:
|
|
BASIC_AUTH: "username:password"
|
|
steps:
|
|
- checkout
|
|
- restore_cache:
|
|
key: cache-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
|
|
- run: pipenv install -d --deploy
|
|
- save_cache:
|
|
key: cache-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
|
|
paths:
|
|
- "/home/circleci/.local/share/virtualenvs"
|
|
- run: pipenv run test
|