diff --git a/.travis.yml b/.travis.yml index 108fe79..497054a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,15 +9,13 @@ deploy: local_dir: to-travis upload-dir: stackage-server -env: - - CABALVER=1.20 GHCVER=7.8.4 - # Note: the distinction between `before_install` and `install` is not important. before_install: - - travis_retry sudo add-apt-repository -y ppa:hvr/ghc + - travis_retry gpg --keyserver pgp.mit.edu. --recv-keys 44A52A60 + - gpg --export --armor 44A52A60 | sudo apt-key add - - travis_retry sudo apt-get update - - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER # see note about happy/alex - - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/.cabal/bin:$PATH + - travis_retry sudo apt-get install stackage + - export PATH=/opt/ghc/ghc*/lts*/bin:/opt/ghc/ghc*/lts*/stackage/bin:$PATH install: - cabal --version