[commit: ghc] wip/travis: travis: Use hvrâs multi-ghc-PPA (0ab2f75)
git at git.haskell.org
git at git.haskell.org
Tue Aug 19 12:09:42 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/travis
Link : http://ghc.haskell.org/trac/ghc/changeset/0ab2f75cf4d1e432c13dd01a1a53a6370591dce4/ghc
>---------------------------------------------------------------
commit 0ab2f75cf4d1e432c13dd01a1a53a6370591dce4
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Tue Aug 19 14:03:05 2014 +0200
travis: Use hvr’s multi-ghc-PPA
>---------------------------------------------------------------
0ab2f75cf4d1e432c13dd01a1a53a6370591dce4
.travis.yml | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index aaf7dd7..cc9ac3f 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:/opt/happy/1.19.4/bin:$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