summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: ba6728d8038da3bb7078c96db10da754b46024fd (plain)
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
sudo: false

cache:
  directories:
  - $HOME/.stack

branches:
  only:
    - master

cache:
  directories:
  - $HOME/.stack
  - .stack-work

before_install:
  - 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'

install:
  - stack --no-terminal --skip-ghc-check setup

before_script:
  - echo "override before_script"

script:
  - stack --no-terminal --skip-ghc-check test