1
0
mirror of https://github.com/gsi-upm/senpy synced 2025-09-17 12:02:21 +00:00

Compare commits

..

3 Commits

Author SHA1 Message Date
J. Fernando Sánchez
312e7f7f12 Avoid python temporary files in pip tests 2017-06-12 21:50:51 +02:00
J. Fernando Sánchez
c555b9547e Non-interactive pip test 2017-06-12 21:27:02 +02:00
J. Fernando Sánchez
991ade8f4d Make sdist non-interactive non-tty 2017-06-12 21:20:07 +02:00
2 changed files with 3 additions and 5 deletions

View File

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

View File

@@ -76,14 +76,12 @@ test-%:
test: test-$(PYMAIN) test: test-$(PYMAIN)
dist/$(TARNAME): version dist/$(TARNAME): version
docker run --rm -ti -v $$PWD:/usr/src/app/ -w /usr/src/app/ python:$(PYMAIN) python setup.py sdist; python setup.py sdist;
docker run --rm -ti -v $$PWD:/usr/src/app/ -w /usr/src/app/ python:$(PYMAIN) chmod -R a+rwx dist;
sdist: dist/$(TARNAME) sdist: dist/$(TARNAME)
pip_test-%: sdist pip_test-%: sdist
docker run --rm -v $$PWD/dist:/dist/ -ti python:$* pip install /dist/$(TARNAME); docker run --rm -v $$PWD/dist:/dist/ python:$* pip install /dist/$(TARNAME);
pip_test: $(addprefix pip_test-,$(PYVERSIONS)) pip_test: $(addprefix pip_test-,$(PYVERSIONS))