summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
blob: 97e32e4e08566fd164b98caf270b84a13536bcf8 (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.8
  - 8.0
  - 8.2

before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y  libiw-dev libasound2-dev libxpm-dev libmpd-dev
  - sudo apt-get install -y libxrandr-dev
  - sudo apt-get install -y happy c2hs

install:
  - cabal install --only-dependencies --enable-tests -fall_extensions
  - wget https://raw.github.com/ndmitchell/hlint/master/misc/travis.sh

script:
  - sh ./travis.sh src
  - cabal configure --enable-tests -fall_extensions && cabal build && cabal test