From b6b565a3cf533e510e94ebef0543b94b0ba9d0d8 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Mon, 31 Aug 2015 08:24:03 +0200 Subject: Also build with Cabal HEAD on travis --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 85abc5a..aaa8b3d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,6 +25,7 @@ install: - echo $PATH - which cabal - cabal install -j --only-dependencies --enable-tests + - git clone --depth=1 https://github.com/haskell/cabal.git /tmp/cabal - if [ -n "$(ghc --version | awk '{ print $8 }' | sed -n '/^7.4/p')" ]; then cabal install Cabal --constraint "Cabal == 1.16.*"; fi @@ -45,3 +46,5 @@ script: - cabal build - ./dist/build/cabal-helper-wrapper/cabal-helper-wrapper . dist "compiler-version" "entrypoints" "source-dirs" "ghc-options" "ghc-src-options" "ghc-pkg-options" "ghc-lang-options" - ./dist/build/spec/spec + # At least try to compile with Cabal HEAD + - ghc -i -i/tmp/cabal/Cabal -i. ~/dev/hs/cabal-helper/CabalHelper/Main.hs -odir /tmp/cabal/Cabal -DCABAL_MAJOR=100 -DCABAL_MINOR=100 -- cgit v1.2.3