yesod-auth-oauth2/.circleci/config.yml
patrick brisbin 9e0a27feab Circle 2.0
2018-01-23 10:16:22 -05:00

35 lines
760 B
YAML

---
version: 2.0
jobs:
build:
docker:
- image: fpco/stack-build:lts
steps:
- checkout
- restore_cache:
keys:
- stack-{{ .Branch }}-{{ checksum "stack.yaml" }}
- stack-{{ .Branch }}
- stack-
- run:
name: Dependencies
command: make setup
- run:
name: Build
command: make build
- save_cache:
key: stack-{{ .Branch }}-{{ checksum "stack.yaml" }}
paths:
- ~/.stack
- ./.stack-work
- run:
name: Test
command: make test
- run:
name: Lint
command: make lint
- run:
name: Build Nightly
command: make check-nightly