[commit: haddock] 2.17.3.1-spanfix, alexbiehl-patch-1, ghc-8.0, ghc-8.0-facebook, ghc-head, ghc-head1, haddock-quick, headdock-library-1.4.5, ie_avails, issue-303, issue-475, master, pr-filter-maps, pr/cabal-desc, travis, v2.17, v2.17.3, v2.18, wip-located-module-as, wip/D2418, wip/T11080-open-data-kinds, wip/T11430, wip/T12105, wip/T12105-2, wip/T12942, wip/T13163, wip/T3384, wip/embelleshed-rdr, wip/new-tree-one-param, wip/rae, wip/remove-frames, wip/remove-frames1, wip/revert-ttg-2017-11-20, wip/ttg-2017-10-13, wip/ttg-2017-10-31, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13: travis: Use Travis containers (80f2f98)

git at git.haskell.org git at git.haskell.org
Mon Nov 20 20:59:06 UTC 2017


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

On branches: 2.17.3.1-spanfix,alexbiehl-patch-1,ghc-8.0,ghc-8.0-facebook,ghc-head,ghc-head1,haddock-quick,headdock-library-1.4.5,ie_avails,issue-303,issue-475,master,pr-filter-maps,pr/cabal-desc,travis,v2.17,v2.17.3,v2.18,wip-located-module-as,wip/D2418,wip/T11080-open-data-kinds,wip/T11430,wip/T12105,wip/T12105-2,wip/T12942,wip/T13163,wip/T3384,wip/embelleshed-rdr,wip/new-tree-one-param,wip/rae,wip/remove-frames,wip/remove-frames1,wip/revert-ttg-2017-11-20,wip/ttg-2017-10-13,wip/ttg-2017-10-31,wip/ttg-2017-11-06,wip/ttg2-2017-11-10,wip/ttg3-2017-11-12,wip/ttg4-constraints-2017-11-13
Link       : http://git.haskell.org/haddock.git/commitdiff/80f2f9805b61e8cea291bae8ce22db626dc11f21

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

commit 80f2f9805b61e8cea291bae8ce22db626dc11f21
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sat Dec 26 10:45:27 2015 +0100

    travis: Use Travis containers


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

80f2f9805b61e8cea291bae8ce22db626dc11f21
 .travis.yml | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 585b0b2..7fb97c8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,18 +1,17 @@
-language: haskell
+sudo: false
 
-env:
- # - GHCVER=7.8.2
- # - GHCVER=7.8.3
- - GHCVER=7.10.2
+matrix:
+  include:
+    - env: CABALVER=head GHCVER=head
+      addons: {apt: {packages: [cabal-install-head,ghc-head],  sources: [hvr-ghc]}}
+
+  allow_failures:
+    - env: CABALVER=head 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
- - sudo apt-get install cabal-install-1.22
- - export PATH=/opt/cabal/1.22/bin:$PATH
+ - export PATH=$HOME/.cabal/bin:/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
  - cabal --version
+ - cabal update
  - cd haddock-library
  - cabal install --only-dependencies --enable-tests
  - cabal install doctest
@@ -22,8 +21,6 @@ before_install:
  - cabal install
  - cd ..
  - (cd haddock-api/ && cabal install --only-dependencies --enable-tests && cabal configure --enable-tests && cabal build && cabal test && cabal install)
- - (cd haddock-test/ && cabal install --only-dependencies && cabal configure && cabal build && cabal install)
 
 script:
- - export HADDOCK_PATH="dist/build/haddock/haddock"
  - cabal configure --enable-tests && cabal build && cabal test
\ No newline at end of file



More information about the ghc-commits mailing list