summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
blob: bd0dfe0c2a3ec4e1a885635d61d8acd83c04ea2c (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
29
30
31
language: haskell

os: linux
dist: bionic

apt:
  update: true
  sources:
    - hvr-ghc
  packages: cabal-install-2.2

ghc:
  - 8.4
  - 8.6
  - 8.8
  - 8.10

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
  - export PATH=/opt/ghc/bin:$PATH

install:
  - travis_wait 30 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