We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89ea0f7 commit df7b401Copy full SHA for df7b401
.moban.d/custom_travis.yml.jj2
@@ -34,5 +34,7 @@ python:
34
- 3.7
35
{%endblock%}
36
37
-{% block custom_install %} - pip install Django==$DJANGO_VERSION
+{% block custom_install %} - if [ -n $DJANGO_VERSION ]; then
38
+ pip install Django==$DJANGO_VERSION
39
+ fi
40
{% endblock%}
.travis.yml
@@ -63,7 +63,9 @@ jobs:
63
stage: test
64
65
before_install:
66
- - pip install Django==$DJANGO_VERSION
+ - if [ -n $DJANGO_VERSION ]; then
67
68
69
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
70
mv min_requirements.txt requirements.txt ;
71
fi
0 commit comments