summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 1691d0bac4b41414344d335755a0b6e8a2465eb9 (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
language: haskell

ghc:
  - 7.4
  - 7.6

before_install:
  - sudo apt-get install rtorrent screen
  - rtorrent -h | grep version
  - screen --version || true

install:
  - cabal sandbox init
  - ./dev/update-dependencies.sh

script:
  - cabal configure --enable-tests --enable-benchmark && cabal build && ./dist/build/spec/spec

notifications:
  email:
    on_success: never
    on_failure: change

  irc:
    channels:
      - "chat.freenode.net#haskell-bittorrent"
    on_success: always
    on_failure: always