1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-25 01:22:28 +00:00

Avoid python temporary files in pip tests

This commit is contained in:
J. Fernando Sánchez 2017-06-12 21:50:51 +02:00
parent c555b9547e
commit 312e7f7f12
2 changed files with 2 additions and 4 deletions

View File

@ -98,7 +98,7 @@ clean :
- make -e clean
when: manual
cleanup_pypirc:
cleanup_py:
stage: clean
when: always # this is important; run even if preceding stages failed.
script:

View File

@ -76,9 +76,7 @@ test-%:
test: test-$(PYMAIN)
dist/$(TARNAME): version
docker run --rm -v $$PWD:/usr/src/app/ -w /usr/src/app/ python:$(PYMAIN) python setup.py sdist;
docker run --rm -v $$PWD:/usr/src/app/ -w /usr/src/app/ python:$(PYMAIN) chmod -R a+rwx dist;
python setup.py sdist;
sdist: dist/$(TARNAME)