git.iko.soy/typeable/cabal2nix
on v20150903 help sign in
typeable/cabal2nix/.travis.yml
20 lines 530 B history raw
1# .travis.yml
3env:
4 - CABALVER=1.22 GHCVER=7.10.2
6before_install:
7 - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
8 - travis_retry sudo apt-get update
9 - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER happy alex
10 - export PATH=$HOME/.cabal/bin:/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
12install:
13 - cabal --version
14 - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
15 - travis_retry cabal update
16 - cabal install hpack
18script:
19 - make
20 - make check