machine:
  ghc:
    version: 7.10.2
test:
  override: []


dependencies:
  cache_directories:
    - "~/.stack"
  pre:
    - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 575159689BEFB442
    - echo 'deb http://download.fpcomplete.com/ubuntu precise main' | sudo tee /etc/apt/sources.list.d/fpco.list
    - sudo apt-get update
    - sudo apt-get install -y stack
  override:
    - stack setup
    - stack build
test:
  override: []

Switch to stack for CircleCI builds
Switch to stack for CircleCI builds
