Skip to content

Commit

Permalink
Cache hypothesis storage directory
Browse files Browse the repository at this point in the history
This isn't strictly necessary, but the new test is quite
slow to minimize when a failure is found, which it typically
is right now. Caching the .hypothesis directory means that
examples will persist between runs, which both speeds up the
build and helps keep consistency between runs so that causes
to failures persist.
  • Loading branch information
DRMacIver committed Aug 18, 2015
1 parent 3f776b0 commit c058f52
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Expand Up @@ -7,6 +7,14 @@ python:
- 3.4
- pypy

cache:
directories:
- $HOME/.hypothesis

env:
global:
- HYPOTHESIS_STORAGE_DIRECTORY=$HOME/.hypothesis

install:
- travis_retry pip install python-coveralls nose-cov hypothesis
- pip install .
Expand Down

0 comments on commit c058f52

Please sign in to comment.