aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Herbert Valerio Riedel <hvr@gnu.org>2013-10-20 14:14:40 +0200
committerGravatar Herbert Valerio Riedel <hvr@gnu.org>2013-10-20 14:14:40 +0200
commit574c291a0b847a0bb8f7ec4a878bf1c0d7dd225f (patch)
treea4824e8eb5856f41f4053e056f4e75d9af8e6fa4
parent6bc480869f6c9b46fc10d980e554a7e1744cb475 (diff)
Markdown-ify README and add Travis-CI script
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
-rw-r--r--.travis.yml23
-rw-r--r--README4
-rw-r--r--README.md15
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.