Skip to content

Commit a34e0c9

Browse files
authored
Merge pull request #25 from algrebe/travis-integration
references #17, fix travis docs - attempt 6
2 parents 25d72e1 + 18f5929 commit a34e0c9

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@ language: python
22
python:
33
- "2.7"
44
install:
5-
- "pip -v install ."
5+
- "pip install ."
66
script:
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*"
1613
deploy:
1714
# test pypi
1815
- provider: pypi

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)