Skip to content

Commit 8b6e999

Browse files
committed
temporary: Install hspec-discover manually in travis
1 parent 800fcc1 commit 8b6e999

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ install:
4949
- TEST=${TEST---enable-tests}
5050
- travis_retry cabal update -v
5151
- sed -i 's/^jobs:/-- jobs:/' ${HOME}/.cabal/config
52+
# Install hspec-discover manually, before hackage accepts build-tool-depends
53+
- mkdir -p $HOME/.local/bin
54+
- export PATH=$HOME/.local/bin/:$PATH
55+
- cabal get hspec-discover
56+
- "cd hspec-discover-*; cabal new-build hspec-discover:exe:hspec-discover; cp $(find dist-newstyle -type f -name hspec-discover) $HOME/.local/bin; cd .."
57+
5258
- rm -fv cabal.project.local
5359
- "echo 'packages: .' > cabal.project"
5460
- rm -f cabal.project.freeze

0 commit comments

Comments
 (0)