on master help sign in
Try to build with GHC 7.6.3 and 7.8.2 on travis
af479f3Hamish Mackenzie
.travis.yml+17−6
@@ -1,15 +1,26 @@
1−language: haskell
1+env:
2+ - GHCVER=7.6.3
3+ - GHCVER=7.8.2
2before_install:
4before_install:
5+ - sudo add-apt-repository -y ppa:hvr/ghc
3 - sudo apt-get update -qq
6 - sudo apt-get update -qq
4 - sudo apt-get --no-install-recommends install libwebkitgtk-3.0-dev alex happy
7 - sudo apt-get --no-install-recommends install libwebkitgtk-3.0-dev alex happy
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
5− - cabal install Cabal
16+ - $CABAL install Cabal
6− - cabal install cabal-install
7install:
17install:
8− - PATH="$HOME/.cabal/bin:$PATH" cabal install gtk2hs-buildtools
18+ - $CABAL install gtk2hs-buildtools
9− - PATH="$HOME/.cabal/bin:$PATH" cabal install --enable-tests
19+ - $CABAL install --enable-tests
10script:
20script:
11− - PATH="$HOME/.cabal/bin:$PATH" cabal test
21+ - $CABAL test
12notifications:
22notifications:
13 irc:
23 irc:
14 channels: "irc.freenode.net#ghcjs"
24 channels: "irc.freenode.net#ghcjs"
25+ skip_join: true
15 email: true
26 email: true