-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create script for shared CI install steps
Intentionally keep conda activate outside script per conda/conda#7980
- Loading branch information
Showing
3 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
|
||
## install.sh: run during a Travis CI or AppVeyor build to install the conda environment. | ||
|
||
# Set options for extra caution & debugging | ||
set -o errexit \ | ||
-o nounset \ | ||
-o pipefail | ||
|
||
wget https://repo.continuum.io/miniconda/Miniconda3-4.6.14-Linux-x86_64.sh | ||
--output-document 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 env create --quiet --file build/environment.yml | ||
conda list --name manubot |