diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index bd6d7366..3130bc52 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -1,10 +1,35 @@ | |||
1 | language: haskell | 1 | language: haskell |
2 | 2 | ||
3 | notifications: | 3 | ghc: |
4 | email: false | 4 | - 7.6 |
5 | |||
6 | before_install: | ||
7 | - sudo apt-get install rtorrent screen | ||
8 | - rtorrent -h | grep version | ||
9 | - screen --version || true | ||
5 | 10 | ||
6 | install: | 11 | install: |
7 | - cabal install --only-dependencies --enable-tests --enable-benchmarks --force-reinstalls | 12 | - cabal sandbox init |
13 | - ./dev/update-dependencies.sh | ||
8 | 14 | ||
9 | script: | 15 | script: |
10 | cabal configure --enable-tests --enable-benchmark && cabal build && cabal test \ No newline at end of file | 16 | - cabal configure && cabal build |
17 | - cabal configure -ftesting --enable-tests --enable-benchmark && cabal build && ./dist/build/spec/spec | ||
18 | |||
19 | notifications: | ||
20 | email: | ||
21 | on_success: never | ||
22 | on_failure: change | ||
23 | |||
24 | irc: | ||
25 | channels: | ||
26 | - "chat.freenode.net#haskell-bittorrent" | ||
27 | on_success: change | ||
28 | on_failure: change | ||
29 | |||
30 | use_notice: true | ||
31 | template: | ||
32 | - "%{repository}#%{build_number} : %{message} for about %{duration}" | ||
33 | - "Commit: %{branch}/%{commit} by %{author}" | ||
34 | - "Changes: %{compare_url}" | ||
35 | - "Build: %{build_url}" \ No newline at end of file | ||