Skip to content

Commit

Permalink
Add auto deployment through Travis: on tag on master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolargo committed Feb 6, 2017
1 parent a0b0534 commit c286f15
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c286f15

Please sign in to comment.