[commit: packages/process] master: Add `README.md` and `.travis.yml` script (0b479ab)

git at git.haskell.org git at git.haskell.org
Sun Oct 20 16:17:58 UTC 2013


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

On branch  : master
Link       : http://git.haskell.org/packages/process.git/commitdiff/0b479ab2b6d1e165b7612e2c595dab2c09376198

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

commit 0b479ab2b6d1e165b7612e2c595dab2c09376198
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sun Oct 20 17:51:53 2013 +0200

    Add `README.md` and `.travis.yml` script
    
    This enables testing (or rather testing the packages builds) for all
    released GHC versions this package is supposed to work with.
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


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

0b479ab2b6d1e165b7612e2c595dab2c09376198
 .travis.yml |   25 +++++++++++++++++++++++++
 README.md   |   15 +++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..05cfb82
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,25 @@
+env:
+ - 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 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.md b/README.md
new file mode 100644
index 0000000..e9b0a3f
--- /dev/null
+++ b/README.md
@@ -0,0 +1,15 @@
+The `process` Package  [![Build Status](https://travis-ci.org/ghc/packages-process.png?branch=master)](https://travis-ci.org/ghc/packages-process)
+=====================
+
+See [`process` on Hackage](http://hackage.haskell.org/package/process) 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