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

ghc:
  - 7.4
  - 7.6

notifications:
  email: false

install:
  cabal install --enable-tests --enable-benchmark --force-reinstalls --only-dependencies

script:
  cabal configure --enable-tests --enable-benchmark && cabal build && cabal test

notifications:
  email:
    on_success: never
    on_failure: change

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

    use_notice: true
    template:
      - "%{repository_name}#%{build_number} : %{message}"
      - "Commit:  %{branch}/%{commit} by %{author}"
      - "Changes: %{compare_url}"
      - "Build:   %{build_url}"