[commit: ghc] wip/travis: travis: Use hvr’s multi-ghc-PPA (5f24c29)

git at git.haskell.org git at git.haskell.org
Tue Aug 19 12:03:31 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/travis
Link       : http://ghc.haskell.org/trac/ghc/changeset/5f24c293e8d8e4c91fce709486a62e0813d1db3f/ghc

>---------------------------------------------------------------

commit 5f24c293e8d8e4c91fce709486a62e0813d1db3f
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Tue Aug 19 14:03:05 2014 +0200

    travis: Use hvr’s multi-ghc-PPA


>---------------------------------------------------------------

5f24c293e8d8e4c91fce709486a62e0813d1db3f
 .travis.yml | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index aaf7dd7..22addd2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,6 +11,10 @@ env:
  - DEBUG_STAGE2=NO
 
 before_install:
+ - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
+ - travis_retry sudo apt-get update
+ - travis_retry sudo apt-get install cabal-install-1.18 ghc-7.6.3 alex-3.1.3 happy-1.19.4
+ - export PATH=/opt/ghc/7.6.3/bin:/opt/cabal/1.18/bin:/opt/alex/3.1.3/bin/alex:/opt/happy/1.19.4/bin/happy:$PATH
  - git config --global url."git://github.com/ghc/packages-".insteadOf     git://github.com/ghc/packages/
  - git config --global url."http://github.com/ghc/packages-".insteadOf    http://github.com/ghc/packages/
  - git config --global url."https://github.com/ghc/packages-".insteadOf   https://github.com/ghc/packages/
@@ -18,10 +22,9 @@ before_install:
  - git config --global url."git at github.com:/ghc/packages-".insteadOf      git at github.com:/ghc/packages/
  - git submodule update --init --recursive
 install:
- - sudo apt-get update
- - sudo apt-get install haskell-platform autoconf libtool make ncurses-dev g++ dblatex docbook-xsl docbook-utils
- - cabal update
- - cabal install happy alex
+# - sudo apt-get update
+# - sudo apt-get install haskell-platform autoconf libtool make ncurses-dev g++ dblatex docbook-xsl docbook-utils
+# - cabal update
 script:
  - echo 'V = 0' >> mk/validate.mk # otherwise we hit log file limits on travis.
  # do  not build docs
@@ -33,4 +36,4 @@ script:
  - echo 'DYNAMIC_GHC_PROGRAMS = NO' >> mk/validate.mk
  - echo 'GhcLibWays = v' >> mk/validate.mk
  - if [ "$DEBUG_STAGE" = "YES" ]; then echo 'GhcStage2HcOpts += -DDEBUG' >> mk/validate.mk; fi
- - CPUS=2 SKIP_PERF_TESTS=YES PATH=~/.cabal/bin:$PATH ./validate --fast
+ - CPUS=2 SKIP_PERF_TESTS=YES ./validate --fast



More information about the ghc-commits mailing list