Markdown-ify README and add Travis-CI script
authorHerbert Valerio Riedel <hvr@gnu.org>
Sun, 20 Oct 2013 12:14:40 +0000 (14:14 +0200)
committerHerbert Valerio Riedel <hvr@gnu.org>
Sun, 20 Oct 2013 12:14:40 +0000 (14:14 +0200)
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
.travis.yml [new file with mode: 0644]
README [deleted file]
README.md [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..af63a5e
--- /dev/null
@@ -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 (file)
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 (file)
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.