Avoid python temporary files in pip tests

chunker 0.9.0a2
J. Fernando Sánchez 7 years ago
parent c555b9547e
commit 312e7f7f12

@ -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:

@ -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)

Loading…
Cancel
Save