unison/.travis.yml

27 lines
663 B
YAML
Raw Normal View History

# https://docs.haskellstack.org/en/stable/travis_ci/
2016-12-27 21:17:46 +03:00
# run on containerized infrastructure hopefully
2019-02-13 22:55:59 +03:00
dist: trusty
2016-05-20 05:15:47 +03:00
sudo: false
language: generic
2016-05-20 05:15:47 +03:00
# Caching so the next build will be fast too.
cache:
directories:
- $HOME/.stack
2018-05-26 00:33:05 +03:00
before_cache:
2019-03-07 00:31:31 +03:00
# Do any cleanup here to avoid caching junk.
2016-05-20 05:15:47 +03:00
before_install:
# Download and unpack the stack executable
- mkdir -p ~/.local/bin
2016-12-27 21:17:46 +03:00
- export PATH=$HOME/.local/bin:$PATH
2016-05-20 05:15:47 +03:00
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
install:
- stack ghc -- --version
- travis_wait stack --no-terminal build
2016-05-20 05:15:47 +03:00
script:
- stack --no-terminal exec tests