dotfiles/.circleci/config.yml

21 lines
723 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" }}
2019-09-03 12:18:04 +01:00
- run: pipenv install --dev --deploy
2018-09-17 15:40:33 +01:00
- run: git clone https://github.com/kewlfft/ansible-aur.git ~/.ansible/plugins/modules/aur --depth=1
2018-09-10 21:13:54 +01:00
- save_cache:
key: cache-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
paths:
- "/home/circleci/.local/share/virtualenvs"
2019-11-18 13:09:43 +00:00
- run: pipenv run lint-yml
2018-09-17 17:09:24 +01:00
- run: pipenv run lint
2018-09-10 21:11:01 +01:00
- run: pipenv run check