summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2014-08-19 14:03:05 +0200
committerJoachim Breitner <mail@joachim-breitner.de>2014-08-19 14:12:41 +0200
commit51a0b60038fb1dddbb9793c0c069de6125f84bf1 (patch)
tree141ab37c1160e0541a3dbb48379d506855988f7d /.travis.yml
parent7012ed8515100b4947383e93b82dbff7a0aa835c (diff)
downloadhaskell-51a0b60038fb1dddbb9793c0c069de6125f84bf1.tar.gz
travis: Use hvr’s multi-ghc-PPA
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
1 files changed, 8 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index aaf7dd776e..cc9ac3f30b 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@github.com:/ghc/packages-".insteadOf git@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