1
0
mirror of https://github.com/gsi-upm/senpy synced 2025-08-23 01:52:21 +00:00

Moved to gsiupm

* Updated sphinx docs to include schemas and version
* Added docker push to makefile
This commit is contained in:
J. Fernando Sánchez
2016-09-21 10:10:49 +02:00
parent fff38bf825
commit 7205a0e7b2
6 changed files with 21 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
PYVERSIONS=2.7 3.4
PYVERSIONS=3.4 2.7
NAME=senpy
REPO=gsiupm
VERSION=$(shell cat $(NAME)/VERSION)
@@ -23,7 +23,16 @@ test-%: build-%
test_pip-%:
docker run --rm -ti python:$* pip -q install senpy ;
upload-%:
docker push '$(REPO)/$(NAME):$(VERSION)-python$(firstword $(PYVERSIONS))'
upload: test $(addprefix upload-,$(PYVERSIONS))
docker tag '$(REPO)/$(NAME):$(VERSION)-python$(firstword $(PYVERSIONS))' '$(REPO)/$(NAME):$(VERSION)'
docker tag '$(REPO)/$(NAME):$(VERSION)-python$(firstword $(PYVERSIONS))' '$(REPO)/$(NAME)'
docker push '$(REPO)/$(NAME):$(VERSION)'
docker push '$(REPO)/$(NAME)'
test_pip: $(addprefix test_pip-,$(PYVERSIONS))
.PHONY: test test-% build-% build test test_pip