parent
2a576b0acd
commit
a459c23740
18
.travis.yml
18
.travis.yml
|
@ -1,14 +1,8 @@
|
||||||
language: haskell
|
language: haskell
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- CABALVER=1.18 GHCVER=7.6.3
|
|
||||||
- CABALVER=1.18 GHCVER=7.8.4
|
- CABALVER=1.18 GHCVER=7.8.4
|
||||||
- CABALVER=1.22 GHCVER=7.10.2
|
- CABALVER=1.22 GHCVER=7.10.2
|
||||||
- CABALVER=head GHCVER=head
|
|
||||||
|
|
||||||
matrix:
|
|
||||||
allow_failures:
|
|
||||||
- env: GHCVER=head
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- |
|
- |
|
||||||
|
@ -49,11 +43,12 @@ script:
|
||||||
- export SRC_TGZ=$($CABAL info . | awk '{print $2 ".tar.gz";exit}') ;
|
- export SRC_TGZ=$($CABAL info . | awk '{print $2 ".tar.gz";exit}') ;
|
||||||
cd dist/;
|
cd dist/;
|
||||||
if [ -f "$SRC_TGZ" ]; then
|
if [ -f "$SRC_TGZ" ]; then
|
||||||
$CABAL install --force-reinstalls "$SRC_TGZ";
|
$CABAL install "$SRC_TGZ";
|
||||||
else
|
else
|
||||||
echo "expected '$SRC_TGZ' not found";
|
echo "expected '$SRC_TGZ' not found";
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi;
|
||||||
|
cd ..;
|
||||||
|
|
||||||
# tests that a source-distribution can be generated
|
# tests that a source-distribution can be generated
|
||||||
- cd ../hask-irc-handlers;
|
- cd ../hask-irc-handlers;
|
||||||
|
@ -63,11 +58,12 @@ script:
|
||||||
- export SRC_TGZ=$($CABAL info . | awk '{print $2 ".tar.gz";exit}') ;
|
- export SRC_TGZ=$($CABAL info . | awk '{print $2 ".tar.gz";exit}') ;
|
||||||
cd dist/;
|
cd dist/;
|
||||||
if [ -f "$SRC_TGZ" ]; then
|
if [ -f "$SRC_TGZ" ]; then
|
||||||
$CABAL install --force-reinstalls "$SRC_TGZ";
|
$CABAL install "$SRC_TGZ";
|
||||||
else
|
else
|
||||||
echo "expected '$SRC_TGZ' not found";
|
echo "expected '$SRC_TGZ' not found";
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi;
|
||||||
|
cd ..;
|
||||||
|
|
||||||
# tests that a source-distribution can be generated
|
# tests that a source-distribution can be generated
|
||||||
- cd ../hask-irc-runner;
|
- cd ../hask-irc-runner;
|
||||||
|
@ -77,7 +73,7 @@ script:
|
||||||
- export SRC_TGZ=$($CABAL info . | awk '{print $2 ".tar.gz";exit}') ;
|
- export SRC_TGZ=$($CABAL info . | awk '{print $2 ".tar.gz";exit}') ;
|
||||||
cd dist/;
|
cd dist/;
|
||||||
if [ -f "$SRC_TGZ" ]; then
|
if [ -f "$SRC_TGZ" ]; then
|
||||||
$CABAL install --force-reinstalls "$SRC_TGZ";
|
$CABAL install "$SRC_TGZ";
|
||||||
else
|
else
|
||||||
echo "expected '$SRC_TGZ' not found";
|
echo "expected '$SRC_TGZ' not found";
|
||||||
exit 1;
|
exit 1;
|
||||||
|
|
Loading…
Reference in New Issue