[commit: packages/terminfo] ghc-head: Add `.travis.yml` and `README.md` file (679784c)
git at git.haskell.org
git at git.haskell.org
Wed Jan 15 08:23:31 UTC 2014
Repository : ssh://git@git.haskell.org/terminfo
On branch : ghc-head
Link : http://git.haskell.org/packages/terminfo.git/commitdiff/679784cd72b54ee1adf9292b604adccc286aa8d0
>---------------------------------------------------------------
commit 679784cd72b54ee1adf9292b604adccc286aa8d0
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Fri Nov 1 10:44:07 2013 +0100
Add `.travis.yml` and `README.md` file
This also bumps the version early to avoid cabal issues, as otherwise the
build on GHC head will most likely fail in the last `cabal install` step
as GHC head is likely to have the last released version already installed.
>---------------------------------------------------------------
679784cd72b54ee1adf9292b604adccc286aa8d0
.travis.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++
README.md | 4 ++++
terminfo.cabal | 2 +-
3 files changed, 49 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..73df398
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,44 @@
+env:
+ - 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=head
+
+matrix:
+ allow_failures:
+ - env: GHCVER=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 autoconf
+ - export PATH=/opt/ghc/$GHCVER/bin:$PATH
+
+install:
+ - cabal-1.18 update
+ - ghc --version
+
+script:
+ - autoreconf -i
+ - cabal-1.18 configure -v2
+ - cabal-1.18 build
+ - cabal-1.18 check
+ - cabal-1.18 sdist
+# The following scriptlet checks that the resulting source distribution can be built & installed
+ - export SRC_TGZ=$(cabal-1.18 info . | awk '{print $2 ".tar.gz";exit}') ;
+ cd dist/;
+ if [ -f "$SRC_TGZ" ]; then
+ cabal-1.18 install "$SRC_TGZ";
+ else
+ echo "expected '$SRC_TGZ' not found";
+ exit 1;
+ fi
+
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..5e46673
--- /dev/null
+++ b/README.md
@@ -0,0 +1,4 @@
+`terminfo` [![Build Status](https://travis-ci.org/judah/terminfo.png?branch=master)](https://travis-ci.org/judah/terminfo)
+==========
+
+Haskell bindings to the `terminfo` library. See `terminfo`'s [Hackage page](http://hackage.haskell.org/package/terminfo) for more details.
diff --git a/terminfo.cabal b/terminfo.cabal
index 3de661a..9fecf21 100644
--- a/terminfo.cabal
+++ b/terminfo.cabal
@@ -1,6 +1,6 @@
Name: terminfo
Cabal-Version: >=1.4
-Version: 0.3.2.6
+Version: 0.3.2.7
Category: User Interfaces
License: BSD3
License-File: LICENSE
More information about the ghc-commits
mailing list