[commit: haddock] 2.15, 2.15.0.1, 2.15.0.2, T6018-injective-type-families, adamse-D1033, clean, ghc-head, master, metainfo, v2.15, wip/10268, wip/10313, wip/D538, wip/D538-1, wip/D538-2, wip/D538-3, wip/D538-4, wip/D538-5, wip/D538-6, wip/D548-master, wip/D548-master-2, wip/T10483, wip/T9840, wip/api-annot-tweaks-7.10, wip/api-annots-ghc-7.10-3, wip/orf-reboot: Fix travis builds (373f21c)

git at git.haskell.org git at git.haskell.org
Wed Jul 8 08:30:20 UTC 2015


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

On branches: 2.15,2.15.0.1,2.15.0.2,T6018-injective-type-families,adamse-D1033,clean,ghc-head,master,metainfo,v2.15,wip/10268,wip/10313,wip/D538,wip/D538-1,wip/D538-2,wip/D538-3,wip/D538-4,wip/D538-5,wip/D538-6,wip/D548-master,wip/D548-master-2,wip/T10483,wip/T9840,wip/api-annot-tweaks-7.10,wip/api-annots-ghc-7.10-3,wip/orf-reboot
Link       : http://git.haskell.org/haddock.git/commitdiff/373f21c6a010c48c7ea5a1851b4c4a5c2a28bdaa

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

commit 373f21c6a010c48c7ea5a1851b4c4a5c2a28bdaa
Author: Simon Hengel <sol at typeful.net>
Date:   Wed Aug 20 11:31:25 2014 +0800

    Fix travis builds


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

373f21c6a010c48c7ea5a1851b4c4a5c2a28bdaa
 .travis.yml | 35 ++++++++---------------------------
 1 file changed, 8 insertions(+), 27 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 4561411..c1b958d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,41 +1,22 @@
 language: haskell
 
-notifications:
-  email:
-    on_success: never
-    on_failure: change
-
 env:
- - GHCVER=7.4.1
- - GHCVER=7.4.2
- - GHCVER=7.6.3
  - GHCVER=7.8.1
  - GHCVER=7.8.2
  - GHCVER=7.8.3
- - GHCVER=head
 
 before_install:
  - sudo add-apt-repository -y ppa:hvr/ghc
  - sudo apt-get update
  - sudo apt-get install ghc-$GHCVER
  - export PATH=/opt/ghc/$GHCVER/bin:$PATH
-
-install:
-  - case "$GHCVER" in
-     "head") (cd haddock-library/ && cabal install --enable-tests
-              && cd .. && cabal install --only-dependencies --enable-tests) ;;
-     *)
-       (cd haddock-library/ && cabal install --only-dependencies --enable-tests) ;;
-
-    esac
+ - cd haddock-library
+ - cabal install --only-dependencies --enable-tests
+ - cabal install doctest
+ - cabal configure --enable-tests --ghc-options=-Werror && cabal build && cabal test
+ - doctest -isrc -i$(echo vendor/attoparsec-*) -optP-include -optPdist/build/autogen/cabal_macros.h src/Documentation/Haddock/Parser.hs
+ - cabal install
+ - cd ..
 
 script:
-  # Yes, in case of HEAD we do end up building haddock-library twice
-  # but we want to see the test results.
-  - (cd haddock-library/ && cabal configure --enable-tests --ghc-options=-Werror
-     && cabal build && cabal test && cabal install && cabal install doctest
-     && doctest -isrc -ivendor/attoparsec-0.10.4.0 -optP-include -optPdist/build/autogen/cabal_macros.h src/Documentation/Haddock/Parser.hs)
-  - case "$GHCVER" in
-     "head") (cabal configure --enable-tests --ghc-options=-Werror && cabal build && cabal test) ;;
-     *) ;;
-    esac
+ - cabal configure --enable-tests --ghc-options=-Werror && cabal build && cabal test



More information about the ghc-commits mailing list