Skip to content

Commit 70695e1

Browse files
committed
Try to install planemo within conda env
1 parent f1fcf0b commit 70695e1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.travis.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ before_install:
1313
- export PLANEMO_CONDA_PREFIX="$HOME/conda"
1414

1515
install:
16-
- pip install flake8 planemo
16+
- pip install planemo
1717
- planemo conda_init
18-
- $PLANEMO_CONDA_PREFIX/bin/conda update -y conda
19-
- $PLANEMO_CONDA_PREFIX/bin/conda create -y -q -c bioconda --name iuc_conda samtools=0.1.19 bcftools
20-
- . $PLANEMO_CONDA_PREFIX/bin/activate iuc_conda
18+
- export PATH=$PLANEMO_CONDA_PREFIX/bin
19+
- conda update -y conda
20+
- conda create -y -q -c bioconda --name iuc_conda samtools=0.1.19 bcftools
21+
- . activate iuc_conda
22+
- pip install planemo
2123
- planemo --version
2224
- $PLANEMO_CONDA_PREFIX/bin/conda --version
2325
- git diff --quiet "$TRAVIS_COMMIT_RANGE" -- ; GIT_DIFF_EXIT_CODE=$?
@@ -37,7 +39,7 @@ install:
3739
- cat changed_repositories_chunk.list
3840

3941
script:
40-
- cd "$TRAVIS_BUILD_DIR" ## && flake8 --exclude=.git .
42+
- cd "$TRAVIS_BUILD_DIR"
4143
- while read -r DIR; do planemo shed_lint --tools --ensure_metadata --urls --report_level warn --fail_level error --recursive "$DIR" || exit 1; done < changed_repositories_chunk.list
4244
- while read -r DIR; do planemo conda_install "$DIR"; done < changed_repositories_chunk.list
4345
- while read -r DIR; do planemo test --conda_dependency_resolution --galaxy_branch "$GALAXY_RELEASE" --galaxy_source "$GALAXY_REPO" "$DIR" || exit 1; done < changed_repositories_chunk.list

0 commit comments

Comments
 (0)