~ben/yesod-text-markdown

50da1f74734eff272f044d9e703a94cca589c875 — Ben Sima 4 years ago 5db3f2d
Fix stack sample travis config
1 files changed, 21 insertions(+), 1 deletions(-)

M .travis.yml
M .travis.yml => .travis.yml +21 -1
@@ 1,2 1,22 @@
language: haskell
language: generic
sudo: false

cache:
  directories:
    - $HOME/.stack

addons:
  apt:
    packages:
      - libgmp-dev

before_install:
  - mkdir -p ~/.local/bin
  - export PATH=$HOME/.local/bin:$PATH
  - travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'

install:
  - stack --no-terminal --install-ghc test --only-dependencies

script:
  - stack --no-terminal test --haddock --no-haddock-deps