File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 22
33set -e -x
44
5- export VERSION_NO=" $TRAVIS_TAG "
6-
75python3 ./make_conda_recipe.py || exit 1
86
97# Switch to miniconda
@@ -17,14 +15,19 @@ conda config --add channels domdfcoding || exit 1
1715conda 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
2932done
3033
You can’t perform that action at this time.
0 commit comments