Browse code

travis: Automatically upload releases to PyPI.

Jose Fonseca authored on 23/05/2017 09:50:48
Showing 1 changed files

... ...
@@ -23,3 +23,14 @@ before_install:
23 23
 script:
24 24
 - cd tests
25 25
 - xvfb-run -a -s '-screen 0 1024x768x24' python ../test.py *.dot graphs/*.gv
26
+
27
+# https://docs.travis-ci.com/user/deployment/pypi/
28
+deploy:
29
+  provider: pypi
30
+  user: jrfonseca
31
+  password:
32
+    secure: WJOfZYkpzmG62sHgoBb66TDGeFHP/KNGrwl/ul8Q22SdFCr5u3gpmQ8bHGgV3fXk/onuDPC3gJxcLpH5+MeZEHiS+pL+gP5XbtiEGOXPe8N2I3eIffO4gHnx1naC5stdk8v44SAY/9pw+CGBOHDJXWMeMDM/QEWo7bpHsZkpRZI=
33
+  on:
34
+    tags: true
35
+    distributions: sdist
36
+    repo: jrfonseca/xdot.py