[commit: packages/stm] master: Update Travis CI job (0aa55b3)
git at git.haskell.org
git at git.haskell.org
Tue Nov 11 21:13:54 UTC 2014
Repository : ssh://git@git.haskell.org/stm
On branch : master
Link : http://git.haskell.org/packages/stm.git/commitdiff/0aa55b39aa9b1c9e9e84bb206c625631d294842e
>---------------------------------------------------------------
commit 0aa55b39aa9b1c9e9e84bb206c625631d294842e
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Tue Nov 11 22:13:55 2014 +0100
Update Travis CI job
>---------------------------------------------------------------
0aa55b39aa9b1c9e9e84bb206c625631d294842e
.travis.yml | 56 +++++++++++++++++++++++++++++---------------------------
1 file changed, 29 insertions(+), 27 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 1ca0118..5d6dcc8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,43 +1,45 @@
env:
-# - GHCVER=6.12.3
- - GHCVER=7.0.1
- - GHCVER=7.0.2
- - GHCVER=7.0.3
- - GHCVER=7.0.4
- - GHCVER=7.2.1
- - GHCVER=7.2.2
- - GHCVER=7.4.1
- - GHCVER=7.4.2
- - GHCVER=7.6.1
- - GHCVER=7.6.2
- - GHCVER=7.6.3
- - GHCVER=7.8.1
- - GHCVER=head
+ - GHCVER=7.0.1 CABALVER=1.16
+ - GHCVER=7.0.2 CABALVER=1.16
+ - GHCVER=7.0.3 CABALVER=1.16
+ - GHCVER=7.0.4 CABALVER=1.16
+ - GHCVER=7.2.1 CABALVER=1.16
+ - GHCVER=7.2.2 CABALVER=1.16
+ - GHCVER=7.4.1 CABALVER=1.16
+ - GHCVER=7.4.2 CABALVER=1.16
+ - GHCVER=7.6.1 CABALVER=1.16
+ - GHCVER=7.6.2 CABALVER=1.16
+ - GHCVER=7.6.3 CABALVER=1.16
+ - GHCVER=7.8.1 CABALVER=1.18
+ - GHCVER=7.8.2 CABALVER=1.18
+ - GHCVER=7.8.3 CABALVER=1.18
+ - GHCVER=head CABALVER=head
matrix:
allow_failures:
- - env: GHCVER=head
+ - env: GHCVER=head CABALVER=head
before_install:
- - sudo add-apt-repository -y ppa:hvr/ghc
- - sudo apt-get update
- - sudo apt-get install cabal-install-1.18 ghc-$GHCVER
- - export PATH=/opt/ghc/$GHCVER/bin:$PATH
+ - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
+ - travis_retry sudo apt-get update
+ - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER
+ - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
+ - cabal --version
install:
- - cabal-1.18 update
+ - travis_retry cabal update
script:
- - cabal-1.18 configure -v2
- - cabal-1.18 build
- - cabal-1.18 check
- - cabal-1.18 sdist
- - export SRC_TGZ=$(cabal-1.18 info . | awk '{print $2 ".tar.gz";exit}') ;
+ - cabal configure -v2
+ - cabal build
+ - cabal check
+ - cabal sdist
+ - export SRC_TGZ=$(cabal info . | awk '{print $2 ".tar.gz";exit}') ;
if [ -f "dist/$SRC_TGZ" ]; then
- cabal-1.18 install "dist/$SRC_TGZ";
+ cabal install "dist/$SRC_TGZ";
else
echo "expected '$SRC_TGZ' not found";
exit 1;
fi
- - cabal-1.18 install random
+ - cabal install random
- tests/runtests.sh
More information about the ghc-commits
mailing list