Skip to content
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

Merged
merged 3 commits into from
Mar 14, 2022
Merged

Conversation

j23414
Copy link
Contributor

@j23414 j23414 commented Mar 12, 2022

Description of proposed changes

Switching from pip3 install to mamba install fixed this travis ci error.

The pip3 install was nice as a very concise one-liner. The mamba 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.

@j23414 j23414 changed the title verbose fix fix: travis error during installation of dependencies Mar 12, 2022
Copy link
Member

@victorlin victorlin left a 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!

.travis.yml Outdated Show resolved Hide resolved
# Install nextstrain cli
- conda install -n base -c conda-forge mamba --yes
- conda activate base
- mamba create -n nextstrain -c bioconda nextstrain-cli --yes
Copy link
Member

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.

.travis.yml Outdated Show resolved Hide resolved
Jennifer Chang and others added 2 commits March 14, 2022 12:50
Co-authored-by: Victor Lin <13424970+victorlin@users.noreply.github.com>
Co-authored-by: Victor Lin <13424970+victorlin@users.noreply.github.com>
@j23414 j23414 merged commit 65761fd into master Mar 14, 2022
@j23414 j23414 deleted the alt_travis branch March 14, 2022 18:30
tsibley added a commit that referenced this pull request Apr 1, 2022
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)>.
tsibley added a commit that referenced this pull request Apr 1, 2022
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)>.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

2 participants