Commit f2de2ec7 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺
Browse files

Add Travis-CI script & README



Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
parent 5d3abd4d
env:
- 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
- export PATH=/opt/ghc/$GHCVER/bin:$PATH
install:
- cabal-1.18 update
- ghc --version
script:
- cabal-1.18 configure -v2
- cabal-1.18 build
- cabal-1.18 check
- cabal-1.18 sdist
- 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
The `array` Package [![Build Status](https://travis-ci.org/ghc/packages-array.png?branch=master)](https://travis-ci.org/ghc/packages-array)
===================
See [`array` on Hackage](http://hackage.haskell.org/package/array) for more information.
......@@ -13,6 +13,7 @@ description:
some instances of these classes.
cabal-version: >=1.10
build-type: Simple
tested-with: GHC==7.6.3, GHC==7.6.2, GHC==7.6.1, GHC==7.4.2, GHC==7.4.1
extra-source-files: changelog
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment