Skip to content

Instantly share code, notes, and snippets.

@athanclark
Created October 10, 2016 23:35
Show Gist options
  • Select an option

  • Save athanclark/c13dc4b24d4d0d2569929fc1d4e8dbbb to your computer and use it in GitHub Desktop.

Select an option

Save athanclark/c13dc4b24d4d0d2569929fc1d4e8dbbb to your computer and use it in GitHub Desktop.

Revisions

  1. athanclark created this gist Oct 10, 2016.
    14 changes: 14 additions & 0 deletions Stack CircleCI Haskell
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    dependencies:
    cache_directories:
    - "~/.stack"
    pre:
    - wget https://github.com/commercialhaskell/stack/releases/download/v1.2.0/stack-1.2.0-linux-x86_64.tar.gz -O /tmp/stack.tar.gz
    - mkdir /tmp/stack/
    - tar -xvzf /tmp/stack.tar.gz -C /tmp/stack/
    - sudo mv /tmp/stack/stack-1.2.0-linux-x86_64/stack /usr/bin/stack
    override:
    - stack build --no-system-ghc --install-ghc

    test:
    override:
    - stack test