[commit: packages/xhtml] master: Wiggle Travis script, again (74c02d5)
git at git.haskell.org
git at git.haskell.org
Sat Jun 17 20:55:51 UTC 2017
Repository : ssh://git@git.haskell.org/xhtml
On branch : master
Link : http://git.haskell.org/packages/xhtml.git/commitdiff/74c02d5bbd3985b87d294b3bc82d63984d5db444
>---------------------------------------------------------------
commit 74c02d5bbd3985b87d294b3bc82d63984d5db444
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Tue Apr 18 11:04:43 2017 +0200
Wiggle Travis script, again
>---------------------------------------------------------------
74c02d5bbd3985b87d294b3bc82d63984d5db444
.travis.yml | 28 +++++++++++++++++-----------
1 file changed, 17 insertions(+), 11 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 8f93745..c1611f5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,26 +2,32 @@
# See http://www.reddit.com/r/haskell/comments/1os3f6/how_to_use_travisci_with_multiple_ghc_versions/
+dist: trusty
+sudo: required
+
env:
+ - GHCVER=7.0.4
+ - GHCVER=7.2.2
+ - GHCVER=7.4.2
- GHCVER=7.6.3
- GHCVER=7.8.4
- GHCVER=7.10.3
- - GHCVER=8.0.1
+ - GHCVER=8.0.2
- GHCVER=8.2.1
before_install:
- sudo add-apt-repository -y ppa:hvr/ghc
- - sudo apt-get update
- - sudo apt-get install cabal-install-1.24 ghc-$GHCVER
- - export PATH=/opt/ghc/$GHCVER/bin:$PATH
+ - travis_retry sudo apt-get update
+ - travis_retry sudo apt-get install cabal-install-2.0 ghc-$GHCVER
+ - export PATH=/opt/ghc/bin:$PATH
install:
- - cabal-1.24 update
- - cabal-1.24 install --only-dependencies --enable-tests
+ - travis_retry cabal update
+ - cabal install --only-dependencies --enable-tests
script:
- - cabal-1.24 configure --enable-tests
- - cabal-1.24 build
- - cabal-1.24 check
- - cabal-1.24 haddock
- - cabal-1.24 sdist
+ - cabal configure --enable-tests
+ - cabal build
+ - cabal check
+ - cabal haddock
+ - cabal sdist
More information about the ghc-commits
mailing list