Migrate to CircleCI 2.0 (#18)

This commit is contained in:
Juan Pedro Villa Isaza 2018-05-28 17:41:16 -05:00 committed by GitHub
parent bc596ae093
commit e760e686f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 14 deletions

20
.circleci/config.yml Normal file
View File

@ -0,0 +1,20 @@
version: 2
jobs:
build:
docker:
- image: fpco/stack-build:lts-11.11
steps:
- checkout
- restore_cache:
keys:
- stack
- run:
name: Build dependencies
command: stack build --only-dependencies
- save_cache:
key: stack
paths:
- ~/.stack/
- run:
name: Build package
command: stack build

View File

@ -1,14 +0,0 @@
dependencies:
cache_directories:
- ~/.stack/
- .stack-work/
override:
- stack setup
- stack build --only-dependencies
test:
override:
- stack build