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 2
2
3
3
set -e -x
4
4
5
- export VERSION_NO=" $TRAVIS_TAG "
6
-
7
5
python3 ./make_conda_recipe.py || exit 1
8
6
9
7
# Switch to miniconda
@@ -17,14 +15,19 @@ conda config --add channels domdfcoding || exit 1
17
15
conda build conda --output-folder conda/dist
18
16
19
17
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 "
21
20
conda install $f || exit 1
22
21
if [ -z " $TRAVIS_TAG " ]; then
23
22
echo " Skipping deploy because this is not a tagged commit"
24
23
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
28
31
fi
29
32
done
30
33
You can’t perform that action at this time.
0 commit comments