Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: 2
jobs:
build:
docker:
# GHC 8.0.2 is the lowest (and so far, only) supported compiler version.
- image: fpco/stack-build:lts-9.21
steps:
- checkout
- restore_cache:
keys:
- stack-ghc-{{ checksum "stack.yaml" }}
- restore_cache:
keys:
- stack-deps-{{ checksum "package.yaml" }}
- run:
name: Set up Stack
command: stack setup --no-terminal --no-reinstall
- save_cache:
key: stack-ghc-{{ checksum "stack.yaml" }}
paths:
- /root/.stack
- run:
name: Install dependencies
command: stack build --skip-ghc-check --no-terminal --test --only-dependencies
- save_cache:
key: stack-deps-{{ checksum "package.yaml" }}
paths:
- /root/.stack
- .stack-work
- run:
name: Tests
command: stack test --skip-ghc-check --no-terminal
22 changes: 0 additions & 22 deletions circle.yml

This file was deleted.

6 changes: 4 additions & 2 deletions stack.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
resolver: nightly-2017-01-25
# GHC 8.0.2 is the lowest (and currently, only) supported compiler version.
resolver: lts-9.21

packages:
- "."
- "./docs/source/tutorial"
- "./graphql-wai"

extra-deps: [protolude-0.2]
extra-deps:
- protolude-0.2