Skip to content

Commit c5b8f64

Browse files
committed
Fixed typo in travis_build_conda.sh
1 parent 56c5685 commit c5b8f64

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.ci/travis_build_conda.sh

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
set -e -x
44

5-
export VERSION_NO="$TRAVIS_TAG"
6-
75
python3 ./make_conda_recipe.py || exit 1
86

97
# Switch to miniconda
@@ -17,14 +15,19 @@ conda config --add channels domdfcoding || exit 1
1715
conda build conda --output-folder conda/dist
1816

1917

20-
for f in ../conda/dist/noarch/domdf_python_tools-*.tar.bz2; do
18+
for f in conda/dist/noarch/domdf_python_tools-*.tar.bz2; do
19+
echo "$f"
2120
conda install $f || exit 1
2221
if [ -z "$TRAVIS_TAG" ]; then
2322
echo "Skipping deploy because this is not a tagged commit"
2423
else
25-
echo "Deploying to Anaconda.org..."
26-
anaconda -t $ANACONDA_TOKEN upload $f || exit 1
27-
echo "Successfully deployed to Anaconda.org."
24+
if [ $TRAVIS_PYTHON_VERSION == 3.6 ]; then
25+
echo "Deploying to Anaconda.org..."
26+
anaconda -t $ANACONDA_TOKEN upload $f || exit 1
27+
echo "Successfully deployed to Anaconda.org."
28+
else
29+
echo "Skipping deploy because this is not the required runtime"
30+
fi
2831
fi
2932
done
3033

0 commit comments

Comments
 (0)