Skip to content

Commit

Permalink
Merge pull request #10 from haskell-servant/hspec-discover-travis
Browse files Browse the repository at this point in the history
Add install hspec-discover
  • Loading branch information
phadej authored Feb 3, 2017
2 parents 04d66e5 + d466f8e commit a2d33f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a2d33f7

Please sign in to comment.