Skip to content

Commit

Permalink
Set conda env for azure pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlees committed Aug 23, 2019
1 parent e5277eb commit 1e09380
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
9 changes: 2 additions & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,8 @@ steps:
- bash: echo "##vso[task.prependpath]$CONDA/bin"
displayName: Add conda to PATH

- bash: conda create --yes --quiet --name pp_env
displayName: Create Anaconda environment

- bash: |
source activate pp_env
conda install --yes --quiet --name pp_env pip numpy mkl scipy python-dateutil pandas scikit-learn dendropy sharedmem numba matplotlib networkx mash hdbscan rapidnj
displayName: Install Anaconda packages
- bash: conda env create --quiet --file environment.yml
displayName: Create Anaconda environment and install dependencies

- script: |
source activate pp_env
Expand Down
22 changes: 22 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: pp_env
channels:
- conda-forge
- bioconda
- defaults
- r
dependencies:
- pip
- numpy
- mkl
- scipy
- python-dateutil
- pandas
- scikit-learn
- dendropy
- sharedmem
- numba
- matplotlib
- networkx
- mash
- hdbscan
- rapidnj

0 comments on commit 1e09380

Please sign in to comment.