summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: d6d1536de4e7b6173f44df3031250b1ea6c870ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: haskell
ghc: '7.10'
branches:
  only:
    - master
cache:
  directories:
  - $HOME/.stack
before_install:
  - echo "override before_install"
install:
  - wget https://github.com/commercialhaskell/stack/releases/download/v1.0.0/stack-1.0.0-linux-x86_64.tar.gz -O stack.gz
  - tar xvf stack.gz
  - chmod +x stack-1.0.0-linux-x86_64/stack
  - stack-1.0.0-linux-x86_64/stack setup
  - stack-1.0.0-linux-x86_64/stack build
before_script:
  - echo "override before_script"
script:
  - stack-1.0.0-linux-x86_64/stack test