Test documentation in travis
This commit is contained in:
		| @@ -4,8 +4,8 @@ python: | ||||
|     - "2.7" | ||||
|     - "3.3" | ||||
|     - "3.4" | ||||
| install: pip install . | ||||
| script: nosetests | ||||
| install: pip install .; pip install sphinx sphinx_rtd_theme | ||||
| script: nosetests; sphinx-build -b html docs docs/_build | ||||
| notifications: | ||||
|     webhooks: | ||||
|         - http://moriarty.thesharp.org:5000/travis/2c27baee8754c01522cf751c1ed393b1/ | ||||
|   | ||||
| @@ -18,7 +18,8 @@ import os | ||||
| # If extensions (or modules to document with autodoc) are in another directory, | ||||
| # add these directories to sys.path here. If the directory is relative to the | ||||
| # documentation root, use os.path.abspath to make it absolute, like shown here. | ||||
| #sys.path.insert(0, os.path.abspath('.')) | ||||
| sys.path.insert(0, os.path.abspath('.')) | ||||
| sys.path.insert(0, os.path.abspath('..')) | ||||
|  | ||||
| # -- General configuration ------------------------------------------------ | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Fedor Gogolev
					Fedor Gogolev