Skip to content

Commit a031974

Browse files
committed
Add Travis PyPI deployment
1 parent 3a6766e commit a031974

File tree

1 file changed

+22
-16
lines changed

1 file changed

+22
-16
lines changed

.travis.yml

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
1-
sudo: false
2-
language: python
3-
4-
python:
5-
- "2.6"
6-
- "2.7"
7-
8-
install:
9-
- pip install requests
10-
- pip install nose
11-
- pip install pep8
12-
- pip install dicttoxml
13-
14-
script:
15-
- pep8 --max-line-length=180 qcloud_cos/.
16-
- nosetests -s -v
1+
sudo: false
2+
language: python
3+
python:
4+
- '2.6'
5+
- '2.7'
6+
install:
7+
- pip install requests
8+
- pip install nose
9+
- pip install pep8
10+
- pip install dicttoxml
11+
script:
12+
- pep8 --max-line-length=180 qcloud_cos/.
13+
- nosetests -s -v
14+
deploy:
15+
provider: pypi
16+
distributions: "sdist bdist bdist_wheel"
17+
user: dt3310321
18+
password:
19+
secure: LPiyxt41FBOXUM4WyzMjQvFz9ctQMcJQl7fTKkZ58fgD15XIWb/JXG2+tpCF/hFe6Fa8Kk1qL3cD+FxnQMWeTftebeWz35cn3EqWpd43/5BoSXjf0n2XTg2Ere6USCmTlosmW6A3GF18+DtsD2xzWTf6uWzdpJCHpBdNaxuph4poLfd4A/SCmggfEi7MN8d99sdJ8ENa3iUo51TWqCt5o57N7QLMII2nW8UpntP2XJ5aHZD1KDd8J8RMuDjtGBOvKbWjKCdFSZXT2Rcj/BDsacCUyACnDXdUAQ+Ic55eTtgpQFc7vm9yk5ApNrLC0xtf3WspO0HZO0ZgzsT1a5eGYYckeh2uVudCeC3VMgp3NQE7bLsO/ZLAhg8mQKr16bUNF+rfs59CL1/8/CeLxuIgKm6MnT1NRMsltdDqPjPsQTeEXpZQZ7urgMrXPCte8HgcCsgfZe39v0TrzZ4jES3orB68MnIsusDzoDfQzN2Z4UkkEEktihEwRjel6vzzMs1XGhC0ksvV+Tb6YUpdpnx6FO9ioZJS4ml4kDk3y8iowRcXBOvtMqrA7QwGmwpBARqts6bSa6ziXNqzFiiGWwbY7eeFscsX3uy84+5UIkABRylSl5C+C2B6jEXFD2T5r7YBQ+30eoPucLELyPxVgMkWTZTg8BVOfM2do4fkZQ+H0Rk=
20+
on:
21+
tags: true
22+
branch: master

0 commit comments

Comments
 (0)