From 8378cd886907159d23cce8ee3ae8f39657e90773 Mon Sep 17 00:00:00 2001 From: Tim Dysinger Date: Wed, 22 Apr 2015 08:30:31 -1000 Subject: [PATCH] Revert "testing stackage-1.9 lts debian package" This reverts commit 6e39fe91ba5953bd1bda4b6a13e3d063cbec54f9. --- .travis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 497054a..108fe79 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,13 +9,15 @@ 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 gpg --keyserver pgp.mit.edu. --recv-keys 44A52A60 - - gpg --export --armor 44A52A60 | sudo apt-key add - + - travis_retry sudo add-apt-repository -y ppa:hvr/ghc - travis_retry sudo apt-get update - - travis_retry sudo apt-get install stackage - - export PATH=/opt/ghc/ghc*/lts*/bin:/opt/ghc/ghc*/lts*/stackage/bin:$PATH + - 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 install: - cabal --version