Replace echo with interpretation of backslash escapes by multiple commands

drone escape the echo option.

issue8830
This commit is contained in:
Cédric Krier
2019-12-04 09:53:35 +01:00
parent e514d1a046
commit c80dde59cd
+4 -1
View File
@@ -15,7 +15,10 @@ pipeline:
- TOX_TESTENV_PASSENV=CFLAGS DB_CACHE
- POSTGRESQL_URI=postgresql://postgres@postgresql:5432/
commands:
- echo -e "[repositories]\nhgext.share =\n[share]\npool = /root/.hgcache\n" >> /root/.hgrc
- echo "[repositories]" >> /root/.hgrc
- echo "hgext.share =" >> /root/.hgrc
- echo "[share]" >> /root/.hgrc
- echo "pool = /root/.hgcache" >> /root/.hgrc
- pip install tox
- tox -e "${TOXENV}-${DATABASE}"
volumes: