Skip to content

Commit

Permalink
preparing for deploy, switching auto deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Feb 10, 2017
1 parent 33b3c63 commit e80ce42
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ after_success:
- bash <(curl -s https://codecov.io/bash)

env:
- secure: "CT1j0VZeLoqBBiMXLOImIBGiPDgPeNZ9xHBf+7bhvurCjcXnFwfhwKFk59o6O1PNLiLB21zeKP9QBLwHaAnQfeahP4+I/FkqowN1NjeKzm95wqFnQvZap3ww33/NYt8Wbs+LBK6SF6GjBJpcV7MMwpDjrxXW4+rN4zVcZNQEcE4t5Gcs49twVqU+nTUwNMuYO1GORhNvM4FNIJ2GI578GFA16WVoiRyfu2wij0mgp0WMddQFJUwxvG37Ehu3DxVkj5pxH9UPouH4j6MVnnx+8Uv36Ux+4j7lOavhqWgbSZkPAFTS7gq3STlPbLWzAwJMkI0fWCW67wPvNCGp6d7HJbRq/g3tld02adg/herdtDbwbqkaR/Ahltbjkl/pshX6u/HA7UnPtp1q9g5qnWJOd+ip/ngSKoIcJb9aYeqqrHMB2wIKJZit1hlwgFwRGgW3HNMWAuoTpdMuFGUSrGWg2oKAUFiwMhhOww7DIHsj1S3uOc6JfGEo9K5IODZdjSge3FeeDQwpU0vZWlCD9bXJoWHVIbtckPRQhlrD/9cojEIhpU1wV+xO/yp5qdtEJGoTaAyn7xdN+pfsujeMElgbU5oUZjtI5rbglHQM3N1ZQOwaK514vMHguBoW8f3kvSx0Bpub/aCgWDQDvnSuX+nzZbkoCAs2igvsQtefqAWnrE4="
- secure: "FlvWpK0GHTDeSxm6FHIIVmn7k75blN1rvjRR9vFlJcgsvz9ay+NZX4DKQCftNkA5bwMDS05Dlr3BTVROAojwv/qfBPKPFRtDEvTiYN8uQWPTqPw4pVu9OuXQKV+JwRFTsg4wsCe4wi7Gb82Z6ho3N5AJpwk8sasZtBR62GuQY+utSUXBRldCqmBA5NuApa3DTpS1+6jKWOU4jtM8mrssDTPmTEk3vcfqGWr/6QdIPTYZRIJHI7NZ+FYVM0s/KOn7T4gqNuB7CLnHdf9836lyCKobfLFiO5HSSig+qwUfXKRbN7/FP/kwtur4N7qUDPolROFWtCo7l6dTEPV7yNAzt+Jk49HnxxyAEVubnsh2EJGBPbWRX41Pzmld+ld5/JqvONgvSBQDTXpOgRfYSkxRn29SQ7P+ofGVRm2KglbUTzbal3tAZTODsLpaDFrzkNfp7sQJiR33wzNbFaF7pzJZqg9MxD7SY1QiCSc5WkdPavyTKgVUQwCxdywQ0d+/gEBVxQL9bYno2zO4zcWxV93ChxQIZCE3LR9wFRn3u/DvLlHjJ2m1IRoyv6AzeF/D1c9uOsdDcRJCJhuJcoL6EuLlsbKQVHcQga6+E85zkSacsRmCwVFWtFbOovm1Y5hBZtZxm84wkOTSHVYNxIge1hbpKvg+D6dmUjo5yrjnYVEA/II="

deploy:
- provider: pypi
Expand All @@ -43,7 +43,7 @@ deploy:
tags: true
python: 3.5
- provider: script
script: make travis-deploy-docs
script: make deploy-docs
on:
tags: true
python: 3.5
3 changes: 2 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
History
-------

v0.4.0 (TBD)
v0.4.0 (2017-02-10)
...................
* improving naming of log handlers and formatters
* upgrade numerous packages, nothing significant
* add ``startup`` and ``shutdown`` methods to actors
* switch ``@concurrent`` to return a ``Concurrent`` instance so the direct method is accessible via ``<func>.direct``

Expand Down
9 changes: 3 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ docs:

.PHONY: deploy-docs
deploy-docs: docs
ghp-import -n -m "update docs" -p docs/_build/html/

.PHONY: travis-deploy-docs
travis-deploy-docs: docs
ghp-import -n -m "update docs" docs/_build/html/
@git push -fq https://${GH_TOKEN}@github.com/$(TRAVIS_REPO_SLUG).git gh-pages > /dev/null
cd docs/_build/ && cp -r html site && zip -r site.zip site
@curl -H "Content-Type: application/zip" -H "Authorization: Bearer ${NETLIFY}" \
--data-binary "@docs/_build/site.zip" https://api.netlify.com/api/v1/sites/arq-docs.netlify.com/deploys
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ See `documentation`_ for more details.
:target: https://pypi.python.org/pypi/arq
.. |license| image:: https://img.shields.io/pypi/l/arq.svg
:target: https://github.com/samuelcolvin/arq
.. _documentation: https://samuelcolvin.github.io/arq/
.. _documentation: https://arq-docs.helpmanual.io/
2 changes: 1 addition & 1 deletion arq/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__all__ = ['VERSION']

VERSION = StrictVersion('0.4.0a1')
VERSION = StrictVersion('0.4.0')
1 change: 0 additions & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
coverage==4.3.4
docutils==0.13.1
flake8==3.3.0
ghp-import==0.5.4
mypy-lang==0.4.6
pycodestyle==2.3.1
pyflakes==1.5.0
Expand Down

0 comments on commit e80ce42

Please sign in to comment.