-
Notifications
You must be signed in to change notification settings - Fork 26
/
.travis.yml
35 lines (28 loc) · 1013 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Stack's standard Travis config, taken from
# http://docs.haskellstack.org/en/stable/GUIDE.html#travis-with-caching
# Use new container infrastructure to enable caching
sudo: false
# Choose a lightweight base image; we provide our own build tools.
language: c
# GHC depends on GMP. You can add other dependencies here as well.
addons:
apt:
packages:
- libgmp-dev
before_install:
# Download and unpack the stack executable
- mkdir -p ~/.local/bin
- export PATH="$HOME/.local/bin:$PATH"
- export GHC_ARGS="-Wcompat -Werror"
- travis_retry ./.travis-scripts/setup
script:
- travis_wait ./.travis-scripts/test-testsuite
- travis_wait ./.travis-scripts/test-doctest
- travis_wait ./.travis-scripts/run-haddock
- travis_wait ./.travis-scripts/generate-sdist
- travis_wait ./.travis-scripts/test-cabal-check
- travis_wait ./.travis-scripts/test-hlint
# Caching so the next build will be fast too.
cache:
directories:
- $HOME/.stack