summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolargo <nicolas@nicolargo.com>2017-02-06 19:30:01 +0100
committerNicolargo <nicolas@nicolargo.com>2017-02-06 19:30:01 +0100
commitc286f15d13173a08919c46aa096ebfe7987d5320 (patch)
treea12f3f850327f4b5b503c376d1fff40a1dd93a69
parenta0b05348cd3330e902dd8d1215b3bb4fcd5a55d6 (diff)
Add auto deployment through Travis: on tag on master branchv2.8.1_1
-rw-r--r--.travis.yml34
1 files changed, 22 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index 74bd75b5..20fc29e6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,17 +1,27 @@
language: python
python:
- - "2.7"
- - "3.3"
- - "3.4"
- - "3.5"
- - "3.6"
- - "pypy"
+- '2.7'
+- '3.3'
+- '3.4'
+- '3.5'
+- '3.6'
+- pypy
install:
- - pip install -U pip setuptools
- - pip install -r requirements.txt
- - pip install coveralls
+- pip install -U pip setuptools
+- pip install -r requirements.txt
+- pip install coveralls
script:
- - python setup.py install
- - coverage run --source=glances unitest.py
+- python setup.py install
+- coverage run --source=glances unitest.py
after_success:
- - coveralls
+- coveralls
+deploy:
+ provider: pypi
+ user: nicolargo
+ password:
+ secure: Fms23jiiKKq6qJMsZYrmBz5mC753VGrjCxzVrsioENfH3KaFf6kUc9fTYntaLvjLPTNBkU3R2IORfVOikJKmNWqWVZOdJ/nq8zPl6o9MgdNcX7qWTvY8Fi9MW7tIZHrehhm0LvWFVq8ZSc8iYzw3/741lvBh8vpJZSQs3sq/1QI=
+ on:
+ tags: true
+ branch: master
+ distributions: sdist bdist_wheel
+ repo: nicolargo/glances