Skip to content

Commit

Permalink
Merge pull request #189 from daler/condatest-fix
Browse files Browse the repository at this point in the history
Condatest fix
  • Loading branch information
daler committed Oct 4, 2016
2 parents 9e3ed51 + 95564da commit 92243cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions condatest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ log () {

log "removing existing env pbtpy${PY_VERSION}"
name=pbtpy${PY_VERSION}
conda env remove -y -n $name
conda env list | grep -q $name && conda env remove -y -n $name

log "starting with basic environment"
conda create -y -n $name --channel bioconda python=${PY_VERSION} bedtools=2.25.0
Expand All @@ -48,7 +48,7 @@ python setup.py clean

log "install test requirements"
source deactivate
conda env remove -y -n $name
conda env list | grep -q $name && conda env remove -y -n $name
conda create -y -n $name --channel bioconda python=${PY_VERSION} \
--file "requirements.txt" \
--file "test-requirements.txt" \
Expand Down

0 comments on commit 92243cf

Please sign in to comment.