sudo: required dist: "trusty" os: "linux" language: generic # Caching so the next build will be fast too. cache: directories: - $HOME/.stack before_install: - mkdir -p $HOME/.local/bin - travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' install: # Build dependencies - stack --no-terminal --install-ghc test --only-dependencies script: # Build the package, its tests, and its docs and run the tests - stack --no-terminal test