This PR to the Travis CI config deletes the test-env conda environment before caching. Failing to do this means that it's deleted from the cache directory on install, which in turn seems to cause travis to re-generate the cache each time. This kinda defeats the purpose of caching.
An alternative would be to detect the existence of the environment and not rebuild it.
This PR to the Travis CI config deletes the test-env conda environment before caching. Failing to do this means that it's deleted from the cache directory on install, which in turn seems to cause travis to re-generate the cache each time. This kinda defeats the purpose of caching.
An alternative would be to detect the existence of the environment and not rebuild it.