sudo: false addons: apt: packages: - libgsl0-dev - liblapack-dev before_install: # Download and unpack the stack executable - mkdir -p ~/.local/bin - export PATH=$HOME/.local/bin:$PATH - travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' - chmod a+x ~/.local/bin/stack install: - stack setup --no-terminal - stack build --no-terminal --only-snapshot script: - stack build --no-terminal --test - stack sdist