summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 3130bc520ff67356c682fb61ce96834222e7d7aa (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.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 && cabal build
  - cabal configure -ftesting --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}"