fixed jinja2 variables
@@ -17,8 +17,8 @@ build:
- dimcli = dimcli.main_cli:main_cli
- dimcli_quicktest = dimcli.tests.quicktest:main
script:
- {% reqfile = "requirements.txt" %}
- {% reqsource = "dimcli.egg-info/requires.txt" %}
+ {% set reqfile = "requirements.txt" %}
+ {% set reqsource = "dimcli.egg-info/requires.txt" %}
- test -f {{ reqfile }} && cp {{ reqsource }} {{ reqfile }} # [not win]
- IF NOT EXIST {{ reqfile }} COPY {{ reqsource }} {{ reqfile }} && EXIT # [win]
- {{ PYTHON }} -m pip install . -vv
