[commit: packages/filepath] master: Add .travis.yml to test compilation with older GHCs (8dd8a36)

git at git.haskell.org git at git.haskell.org
Fri Oct 18 09:49:19 UTC 2013


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

On branch  : master
Link       : http://git.haskell.org/packages/filepath.git/commitdiff/8dd8a3616f137cb78af3366464bcf9cecf81ff75

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

commit 8dd8a3616f137cb78af3366464bcf9cecf81ff75
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Fri Oct 18 11:33:43 2013 +0200

    Add .travis.yml to test compilation with older GHCs
    
    This is currently a proof of concept and might be disabled again.
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


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

8dd8a3616f137cb78af3366464bcf9cecf81ff75
 .travis.yml |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..15f96e3
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,26 @@
+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
+
+before_install:
+ - sudo add-apt-repository -y ppa:hvr/ghc
+ - sudo apt-get update
+ - sudo apt-get install cabal-install-1.18 ghc-$GHCVER
+
+install:
+ - cabal-1.18 update
+ - PATH=/opt/ghc/$GHCVER/bin:$PATH cabal-1.18 install   --enable-tests --enable-benchmarks --only-dependencies
+
+script:
+ - PATH=/opt/ghc/$GHCVER/bin:$PATH cabal-1.18 configure --enable-tests --enable-benchmarks -v2
+ - cabal-1.18 build



More information about the ghc-commits mailing list