summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: b62bbdfa9c9f28ef41f677001a08f9ac5ec2892e (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
33
34
35
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: change
    on_failure: change

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