aferritto / TGT

TGT Generates Terrain; Terrain Generation via Machine Learning
GNU General Public License v3.0
2 stars 1 forks source link

Travis cache environment #22

Closed aferritto closed 6 years ago

aferritto commented 6 years ago

Fixes #15.

Caching has been added to Travis CI:

  1. If update to Miniconda then everything rebuilt
  2. If environment.yml updated then conda env updated
  3. Otherwise all left alone

This reduces Travis build time by ~1 minute from 2m30s to 1m30s when nothing needs to be rebuilt and around 2m + storing cache when there is a small env change (case 1 should occur the vast majority of the time).

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 40833ea907593730c81c6156b4e1c41e3645887f on travis-cache-environment into bddaf9871563ba84b2092a38c571cbf02e5fec44 on master.

aferritto commented 6 years ago

Since there are a lot of commits here for what is essentially one feature, I am thinking that it may be a good idea to squash and merge when we merge this. Thoughts? @Behemyth @zyteka