summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2019-01-12 16:38:31 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2019-01-12 16:38:31 +0100
commit2e6fc8efef278eabeb6b98dfb125d3b1cc02742c (patch)
tree8d1a020db562c8ef75acc8e1807b710fd8864540
parentb5a43e5f86c7e23ca6cc0fa93efa2dddca2b7891 (diff)
downloadhakyll-2e6fc8efef278eabeb6b98dfb125d3b1cc02742c.tar.gz
Bump CircleCI configuration
-rw-r--r--.circleci/config.yml16
1 files changed, 5 insertions, 11 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index bdba9d5..6e686b2 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -6,20 +6,14 @@ jobs:
steps:
- checkout
- restore_cache:
- key: 'v2-hakyll-{{ arch }}-{{ .Branch }}'
- - run:
- name: 'Update cabal indices'
- command: 'cabal update'
+ key: 'v3-hakyll-{{ arch }}-{{ .Branch }}'
- run:
# We set jobs to 1 here because that prevents Out-Of-Memory exceptions
# while compiling dependencies.
name: 'Install dependencies'
- command: '.circleci/tickle.sh cabal install --only-dependencies --enable-tests --jobs=1 --flags="+buildWebsite"'
- - run:
- name: 'Build and run tests'
- command: 'cabal test'
+ command: '.circleci/tickle.sh stack build --test --copy-bins --jobs=1'
- save_cache:
- key: 'v2-hakyll-{{ arch }}-{{ .Branch }}-{{ .Revision }}'
+ key: 'v3-hakyll-{{ arch }}-{{ .Branch }}-{{ .Revision }}'
paths:
- - '~/.cabal'
- - '~/.ghc'
+ - '~/.stack-work'
+ - '~/.stack'