dib-lab / elvers

(formerly eelpond) an automated RNA-Seq workflow system
https://dib-lab.github.io/elvers/
Other
28 stars 3 forks source link

[MRG] fix conda package caching #27

Closed ctb closed 5 years ago

ctb commented 5 years ago

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.

ctb commented 5 years ago

OK. seems like I need to merge this into master to see if it really works (see https://github.com/travis-ci/travis-ci/issues/7321). Yay w00t.