-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
79 lines (68 loc) · 2.48 KB
/
.travis.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# http://docs.haskellstack.org/en/stable/travis_ci.html
language: haskell
branches:
only:
- master
sudo: false
# addons:
# apt:
# packages:
# - libgmp-dev
cache:
directories:
- $HOME/.stack/
# - "$HOME/.stack-work/"
before_install:
- mkdir -p ~/.local/bin
- export PATH=~/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
- chmod a+x ~/.local/bin/stack
install:
- stack +RTS -N2 -RTS setup
- stack +RTS -N2 -RTS build --only-snapshot
script:
- git --version
- stack --version
- stack +RTS -N2 -RTS build --test --haddock --no-haddock-deps
# coveralls.io coverage reports
# after_script:
# - "cabal install hpc-coveralls"
# - "hpc-coveralls count-von-count-tests --exclude-dir=tests --exclude-dir=src/Gyrid --display-report"
notifications:
#irc:
# channels:
# - "chat.freenode.net#haskell"
# on_success: change # [always|never|change] default: always
# on_failure: change # default: always
# use_notice: true
# skip_join: true
# # If you enable skip_join, remember to remove the NO_EXTERNAL_MSGS flag (n) on the IRC channel(s) the bot notifies.
# template:
# - "%{commit}: %{message} %{build_url}"
# # - "%{repository_name} (%{commit}) : %{message} %{build_url}"
# # You can interpolate the following variables:
# # repository_slug: your GitHub repo identifier (like svenfuchs/minimal)
# # repository_name: the slug without the username
# # repository: same as repository_slug [Deprecated]
# # build_number: build number
# # build_id: build id
# # branch: branch build name
# # commit: shortened commit SHA
# # author: commit author name
# # commit_message: commit message of build
# # commit_subject: first line of the commit message
# # result: result of build
# # message: travis message to the build
# # duration: duration of the build
# # compare_url: commit change view URL
# # build_url: URL of the build detail
# # The default template is:
# # - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
# # - "Change view : %{compare_url}"
# # - "Build details : %{build_url}"
# email: # false
# recipients:
# on_success: [always|never|change] # default: change
# on_failure: [always|never|change] # default: always