[commit: packages/unix] master: Markdown-ify README and add Travis-CI script (574c291)

git at git.haskell.org git at git.haskell.org
Sun Oct 20 12:16:38 UTC 2013


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

On branch  : master
Link       : http://git.haskell.org/packages/unix.git/commitdiff/574c291a0b847a0bb8f7ec4a878bf1c0d7dd225f

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

commit 574c291a0b847a0bb8f7ec4a878bf1c0d7dd225f
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sun Oct 20 14:14:40 2013 +0200

    Markdown-ify README and add Travis-CI script
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


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

574c291a0b847a0bb8f7ec4a878bf1c0d7dd225f
 .travis.yml |   23 +++++++++++++++++++++++
 README      |    4 ----
 README.md   |   15 +++++++++++++++
 3 files changed, 38 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..af63a5e
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,23 @@
+env:
+ - 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 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
diff --git a/README b/README
deleted file mode 100644
index f5aa1cf..0000000
--- a/README
+++ /dev/null
@@ -1,4 +0,0 @@
-To build this package using Cabal directly from darcs, you must run
-"autoreconf" before the usual Cabal build steps (configure/build/install).
-autoreconf is included in the GNU autoconf tools.  There is no need to run
-the "configure" script: the "setup configure" step will do this for you.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..d7ab52b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,15 @@
+The `unix` Package  [![Build Status](https://travis-ci.org/ghc/packages-unix.png?branch=master)](https://travis-ci.org/ghc/packages-unix)
+==================
+
+See [`unix` on Hackage](http://hackage.haskell.org/package/unix) for
+more information.
+
+Installing from Git
+-------------------
+
+To build this package using Cabal directly from Git, you must run
+`autoreconf -i` before the usual Cabal build steps (`cabal
+{configure,build,install}`). The program `autoreconf` is part of
+[GNU autoconf](http://www.gnu.org/software/autoconf/).  There is no
+need to run the `configure` script: `cabal configure` will do this for
+you.



More information about the ghc-commits mailing list