Skip to content

Commit

Permalink
Merge pull request #14 from nextstrain/alt_travis
Browse files Browse the repository at this point in the history
fix: travis error during installation of dependencies
  • Loading branch information
Jennifer Chang authored Mar 14, 2022
2 parents 0fd7db6 + 9d587c3 commit 65761fd
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,21 @@ python:
before_install:
- python3 -m pip install --upgrade pip setuptools wheel
install:
- pip3 install git+https://github.com/nextstrain/cli
# https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/use-conda-with-travis-ci.html#the-travis-yml-file
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- source "$HOME/miniconda/etc/profile.d/conda.sh"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
# Install nextstrain cli
- conda install -n base -c conda-forge mamba --yes
- conda activate base
- mamba create -n nextstrain -c bioconda nextstrain-cli --yes
- conda activate nextstrain
- mamba install -c conda-forge -c bioconda augur auspice nextalign snakemake git --yes
- nextstrain version
- nextstrain check-setup
- nextstrain update
Expand Down

0 comments on commit 65761fd

Please sign in to comment.