From a459c2374001852b53872805ad01e2fb65d62c06 Mon Sep 17 00:00:00 2001 From: Abhinav Sarkar Date: Mon, 7 Sep 2015 23:59:53 +0530 Subject: [PATCH] Fixes travis config. - Removes ghc 7.6 from build targets. --- .travis.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index daa2e4c..048d956 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,8 @@ language: haskell env: - - CABALVER=1.18 GHCVER=7.6.3 - CABALVER=1.18 GHCVER=7.8.4 - CABALVER=1.22 GHCVER=7.10.2 - - CABALVER=head GHCVER=head - -matrix: - allow_failures: - - env: GHCVER=head before_install: - | @@ -49,11 +43,12 @@ script: - export SRC_TGZ=$($CABAL info . | awk '{print $2 ".tar.gz";exit}') ; cd dist/; if [ -f "$SRC_TGZ" ]; then - $CABAL install --force-reinstalls "$SRC_TGZ"; + $CABAL install "$SRC_TGZ"; else echo "expected '$SRC_TGZ' not found"; exit 1; - fi + fi; + cd ..; # tests that a source-distribution can be generated - cd ../hask-irc-handlers; @@ -63,11 +58,12 @@ script: - export SRC_TGZ=$($CABAL info . | awk '{print $2 ".tar.gz";exit}') ; cd dist/; if [ -f "$SRC_TGZ" ]; then - $CABAL install --force-reinstalls "$SRC_TGZ"; + $CABAL install "$SRC_TGZ"; else echo "expected '$SRC_TGZ' not found"; exit 1; - fi + fi; + cd ..; # tests that a source-distribution can be generated - cd ../hask-irc-runner; @@ -77,7 +73,7 @@ script: - export SRC_TGZ=$($CABAL info . | awk '{print $2 ".tar.gz";exit}') ; cd dist/; if [ -f "$SRC_TGZ" ]; then - $CABAL install --force-reinstalls "$SRC_TGZ"; + $CABAL install "$SRC_TGZ"; else echo "expected '$SRC_TGZ' not found"; exit 1;