netsiphd / netrd

A library for network {reconstruction, distances, dynamics}
https://netrd.readthedocs.io/en/latest/
MIT License
166 stars 43 forks source link

Refactor Travis to use miniconda #305

Closed sdmccabe closed 4 years ago

sdmccabe commented 4 years ago

Resolves #301.

This does two things:

  1. Refactors the Travis workflow to use miniconda on macOS and Linux. Before, macOS used pyenv and Linux used what came on the Travis build image. Using miniconda for both makes the workflow more consistent and should be easier to debug in the future. It makes the Linux builds take slightly (1-2 minutes) longer, but the build times have always dominated by the macOS tests, and those are much faster. Consider three Travis builds:
Build When run Run time Total time
667 8 months ago 24 min 46 min
709 Earlier today 24 min 1h 27 min
721 This PR 9 min 24 min
  1. We also drop test coverage for Python 3.5, which is at end of life. This allows us to clean up the workflow a bit, since black was not supported on Python 3.5.