File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,17 +2,14 @@ language: python
22python :
33 - " 2.7"
44install :
5- - " pip -v install ."
5+ - " pip install ."
66script :
77 - echo "no tests yet"
8- before_install :
8+ before_deploy :
99 - " wget https://github.com/jgm/pandoc/releases/download/1.19.1/pandoc-1.19.1-1-amd64.deb -O $TRAVIS_BUILD_DIR/pandoc.deb"
1010 - " sudo dpkg -i $TRAVIS_BUILD_DIR/pandoc.deb"
1111 - " rm $TRAVIS_BUILD_DIR/pandoc.deb"
12- - " echo `pwd`"
13- - " pandoc --version"
1412 - " pandoc --from=markdown --to=rst --output=$TRAVIS_BUILD_DIR/README.rst README.md"
15- - " ls -alhrt README*"
1613deploy :
1714 # test pypi
1815 - provider : pypi
Original file line number Diff line number Diff line change @@ -12,12 +12,11 @@ def get_long_description():
1212 for d in dirs :
1313 rst_readme = os .path .join (d , "README.rst" )
1414 if not os .path .exists (rst_readme ):
15- print "failed to find %s" % rst_readme
1615 continue
1716
18- print "found rst readme %s" % rst_readme
1917 with open (rst_readme ) as fp :
2018 long_description = fp .read ()
19+ return long_description
2120
2221 return long_description
2322
You can’t perform that action at this time.
0 commit comments