git.iko.soy/typeable/dom-parser
on 2.0.0 help sign in
typeable/dom-parser/.travis.yml
30 lines 803 B history raw
1# Use new container infrastructure to enable caching
2sudo: false
4# Do not choose a language; we provide our own build tools.
5language: generic
7# Caching so the next build will be fast too.
8cache:
9 directories:
10 - $HOME/.stack
12# Ensure necessary system libraries are present
13addons:
14 apt:
15 packages:
16 - libgmp-dev
18before_install:
19# Download and unpack the stack executable
20- mkdir -p ~/.local/bin
21- export PATH=$HOME/.local/bin:$PATH
22- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
24install:
25# Build dependencies
26- stack --no-terminal --install-ghc build --only-dependencies
28script:
29# Build the package, its tests, and its docs and run the tests
30- stack --no-terminal test --haddock --no-haddock-deps