From d466f8ebcc1c66b875ab9a6046a091a599aaa9ae Mon Sep 17 00:00:00 2001 From: Oleg Grenrus Date: Fri, 3 Feb 2017 10:40:30 +0200 Subject: [PATCH] Add install hspec-discover --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4065941..2370c3c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,6 +49,12 @@ install: - TEST=${TEST---enable-tests} - travis_retry cabal update -v - sed -i 's/^jobs:/-- jobs:/' ${HOME}/.cabal/config + # Install hspec-discover manually, before hackage accepts build-tool-depends + - mkdir -p $HOME/.local/bin + - export PATH=$HOME/.local/bin/:$PATH + - cabal get hspec-discover + - "cd hspec-discover-*; cabal new-build hspec-discover:exe:hspec-discover; cp $(find dist-newstyle -type f -name hspec-discover) $HOME/.local/bin; cd .." + - rm -fv cabal.project.local - "echo 'packages: .' > cabal.project" - rm -f cabal.project.freeze