Skip to content

Commit 96b6d02

Browse files
committed
configure travis to do the release to PyPI when a new tag is created
1 parent 27d4b45 commit 96b6d02

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

.travis.yml

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
11
language: python
22

33
python:
4-
- "2.7"
5-
- "3.4"
6-
- "3.5"
7-
- "3.6"
4+
- '2.7'
5+
- '3.4'
6+
- '3.5'
7+
- '3.6'
88

99
install:
10-
- python setup.py install
11-
- pip install -r requirements_test.txt
10+
- python setup.py install
11+
- pip install -r requirements_test.txt
1212

1313
script:
14-
- ruby --version
15-
- pep8 sensu_plugin
16-
- pylint --rcfile=pylint.rc sensu_plugin
17-
- nosetests --with-coverage --cover-package=sensu_plugin --cover-min-percentage=25 sensu_plugin/test/
14+
- ruby --version
15+
- pep8 sensu_plugin
16+
- pylint --rcfile=pylint.rc sensu_plugin
17+
- nosetests --with-coverage --cover-package=sensu_plugin --cover-min-percentage=25 sensu_plugin/test/
18+
19+
deploy:
20+
user: sensu_plugins
21+
password:
22+
secure: l84nSfeFo2b4ZbOBC3HbH8MnYxV9PMO16HIgGs3goXsc7RFMgB6bXV0h/jf9vj1aoZeVe4VyKPQVaZ1XLGz/tF2rZfad+CaXdkzwqvTnU33YQNKu26yocANTucC72nnfwJ+WQMGVUr/jBejhRL+UI9tpf8DXkM4LshOiXMkCeH4ebhMHlQAxuxZZPkbnD4EkpHV9aS2prb+5xhPrZwBDeJO5yukA70dO2wlGsPSkwCig+kRVInbReOp1+74PsEa4Vhj/2YgRV6DfVt+Xn1Pi40neVRSrkE3RQVDVRT6Sx8J0SrYdj0jWqCFnKaPgCr5PL25F31x5JaqV3fGTmPE3wxhsUXuUXBaHcYhwqDJ1c2gffqiz7HtDD1KebJa4NijXbgXnXi7IdvIuB6DvSGpPQYaA3LuFRYnJZjrSmq09TkvM6JQme9hfHkSjbxP7M68hfYztnba7ouY9nPP9iXCIqKjgEpqtaSwL0cf0747xW3EG35u327MwfGOj6DeJEAaHxnl2a7xCCFX+yZBe/lGxmlbFJjHCj1N3UJG6G0wDLdGk/K7CAMXvpmsANoyMm/IOFqjUSbSCam+RvV0sqe+2Sthu+yUYVxHHYmOHtyLnHsB/kIXVHJO6p5b01ZsZD1wKWwd4wnyhRM4j76izwB+wIQ9WQebAbR0r4ISxMBkNbug=
23+
on:
24+
tags: true
25+
branch: master

0 commit comments

Comments
 (0)