-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: travis error during installation of dependencies #14
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor comments. Eventually we should move to GitHub Actions but good to merge this sooner to unblock you!
# Install nextstrain cli | ||
- conda install -n base -c conda-forge mamba --yes | ||
- conda activate base | ||
- mamba create -n nextstrain -c bioconda nextstrain-cli --yes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would install the latest nextstrain-cli
from bioconda rather than latest from the default branch (current behavior with pip3 install git+https://github.com/nextstrain/cli
). I think this should be fine though.
Co-authored-by: Victor Lin <13424970+victorlin@users.noreply.github.com>
Co-authored-by: Victor Lin <13424970+victorlin@users.noreply.github.com>
We've been slowly moving everything off Travis CI in favor of centralizing on GitHub. More acutely motivated here by some Travis-specific errors, previously worked around by <#14>. Reverts back to a simple pip install instead of conda/mamba setup as much of it was unnecessary. See discussion in <nextstrain/measles#3 (comment)>.
We've been slowly moving everything off Travis CI in favor of centralizing on GitHub. More acutely motivated here by some Travis-specific errors, previously worked around by <#14>. Reverts back to a simple pip install instead of conda/mamba setup as much of it was unnecessary. See discussion in <nextstrain/measles#3 (comment)>.
Description of proposed changes
Switching from
pip3 install
tomamba install
fixed this travis ci error.The
pip3 install
was nice as a very concise one-liner. Themamba install
is more consistent with our nextstrain install docs. Feel free to suggest a cleaner fix. Another alternative solution is to set up CI using github actions.Testing
See alt_travis travis.ci passing build.