aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 9ad9d09ca76990bd8a3ca2f60f72f584ffaf0be2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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