-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
36 lines (30 loc) · 1.09 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
language: haskell
before_install:
# Uncomment whenever hackage is down.
# - mkdir -p ~/.cabal && cp travis/config ~/.cabal/config && cabal update
- cabal update
- sudo apt-get -q -y install happy
# Try installing some of the build-deps with apt-get for speed.
#LATER - travis/cabal-apt-install $mode
- (cd paper && ../travis/cabal-apt-install $mode)
# TODO install less than texlive-full
- sudo apt-get -q -y install bash texlive-base texlive-full rubber
install:
#LATER - cabal configure $mode
#LATER - cabal build
- (cd paper && cabal configure $mode)
script:
#- $script && hlint src --cpp-define HLINT
#- (cd paper && $script && hlint src --cpp-define HLINT)
- (cd paper && bash ./do all)
notifications:
irc:
channels:
- "irc.freenode.org#np"
# We need to own the channel then changed its mode
# https://github.com/np/names-for-free/settings/hooks
#skip_join: true
template:
- "\x0313names-for-free\x03/\x0306%{branch}\x03 \x0314%{commit}\x03 %{build_url} %{message}"
env:
#- mode="--enable-tests" script="cabal test --show-details=always"