Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add simple travis-ci support #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: python
python: 3.5

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add cache: pip so that Travis caches dependencies?

install: python3 -m pip install sphinx

script:
# TODO: add -b linkcheck
- sphinx-build -n -W -q -b html -d _build/doctrees . _build/html
2 changes: 1 addition & 1 deletion buildslave.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ For Windows:
* Install the latest version of Python 2.7 from python.org.
* Open a Command Prompt.
* Execute ``python -m pip install pypiwin32 buildbot-slave`` (note that
``python.exe`` is not added to :envvar:`PATH` by default, making the
``python.exe`` is not added to ``PATH`` by default, making the
``python`` command accessible is left as an exercise for the user).

In a terminal window for the buildbot user, issue the following commands (you
Expand Down
2 changes: 1 addition & 1 deletion coverage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ Using test.regrtest
-------------------

If you prefer to rely solely on the stdlib to generate coverage data, you can
do so by passing the appropriate flags to :py:mod:`test.regrtest` (along with
do so by passing the appropriate flags to ``test.regrtest`` (along with
any other flags you want to)::

./python -m test --coverage -D `pwd`/coverage_data <test arguments>
Expand Down
4 changes: 2 additions & 2 deletions documenting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,11 @@ grasp a simple example more quickly than they can digest a formal description in
prose.

People learn faster with concrete, motivating examples that match the context of
a typical use case. For instance, the :func:`str.rpartition` method is better
a typical use case. For instance, the ``str.rpartition`` method is better
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The intersphinx_mapping setting in https://github.com/python/devguide/blob/master/conf.py#L33 should resolve this and sys.ps2. Perhaps Sphinx didn't follow http -> https redirection?

demonstrated with an example splitting the domain from a URL than it would be
with an example of removing the last word from a line of Monty Python dialog.

The ellipsis for the :attr:`sys.ps2` secondary interpreter prompt should only be
The ellipsis for the ``sys.ps2`` secondary interpreter prompt should only be
used sparingly, where it is necessary to clearly differentiate between input
lines and output lines. Besides contributing visual clutter, it makes it
difficult for readers to cut-and-paste examples so they can experiment with
Expand Down