@@ -1,15 +1,26 @@
1−language: haskell
1+env:
2+ - GHCVER=7.6.3
3+ - GHCVER=7.8.2
24before_install:
5+ - sudo add-apt-repository -y ppa:hvr/ghc
36 - sudo apt-get update -qq
47 - sudo apt-get --no-install-recommends install libwebkitgtk-3.0-dev alex happy
5− - cabal install Cabal
6− - cabal install cabal-install
8+ - sudo apt-get install cabal-install-1.18 ghc-$GHCVER
9+ - export CABAL=cabal-1.18
10+ - export PATH=$HOME/.cabal/bin:/opt/ghc/$GHCVER/bin:$PATH
11+ - $CABAL update
12+ - |
13+ if [ $GHCVER = "head" ] || [ $GHCVER = "7.8.2" ]; then
14+ $CABAL install happy alex
15+ fi
16+ - $CABAL install Cabal
717install:
8− - PATH="$HOME/.cabal/bin:$PATH" cabal install gtk2hs-buildtools
9− - PATH="$HOME/.cabal/bin:$PATH" cabal install --enable-tests
18+ - $CABAL install gtk2hs-buildtools
19+ - $CABAL install --enable-tests
1020script:
11− - PATH="$HOME/.cabal/bin:$PATH" cabal test
21+ - $CABAL test
1222notifications:
1323 irc:
1424 channels: "irc.freenode.net#ghcjs"
25+ skip_join: true
1526 email: true