Skip to content

Commit

Permalink
trying to fix readthedocs error
Browse files Browse the repository at this point in the history
  • Loading branch information
Avsecz committed Sep 15, 2016
1 parent c1b6f3d commit ac72a28
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
25 changes: 7 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,20 @@
# Config file for automatic testing at travis-ci.org
# This file will be regenerated if you run travis_pypi_setup.py

language: python
python: 3.5

env:
- TOXENV=py35
- TOXENV=py34
- TOXENV=py33
- TOXENV=py27
- TOXENV=py26
- TOXENV=pypy

# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
- TOXENV=py35
- TOXENV=py34
- TOXENV=py33
- TOXENV=py27
- TOXENV=py26
- TOXENV=pypy
install: pip install -U tox

# command to run tests, e.g. python setup.py test
script: tox -e ${TOXENV}

# After you create the Github repo and add it to Travis, run the
# travis_pypi_setup.py script to finish PyPI deployment setup
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: avsecz
password:
secure: PLEASE_REPLACE_ME
secure: F8mJjB5wnWaXVYzHTBzAJjow1FnyMEZrnRXMyAg9qEkbdC4do88f75sfy/z8wJBPoypIx3FDG+U7bwvaA2Rp1087L+xEBxwj1BjGH/4e+sbVJjtoMpX65njCphZVZK6ceYyui4rS65PWVMrZ4j8w+0OvlVJLFA8AICoCMhBHbtPbBbdYZwT7asy+GYyxDJK2sKtq8vZPr0FFyh4lTxzlRA8GkBdofmO9frdBqxsBGQGOSY88B4kg72jx9nZpbB6VV2+EZfPsBAKQLhxILQ/InSS55Fp3peSQw9HQ2kMgYYUJRQyZTP8AI8+UzPLFm+qE/ZtBF1ZUYW3Jt+8AQdjgJE3J+ARi7DqDE2VDeVTpr8hbY8i0RqQlAtII7cRBWKz2UvXCw49QBnlBUtXre02tiTouKhb+ts32IDWeuKdU3shgo5/dDT+QNihSYf9fVJHLk8zUTn7hbcRIFO2dwDzLrtWWFnSPWEGGoPhmj++1J32EkJDxmfK3Dl+6Gqc9RTfDEFfK5nhovBDwbCxdFkzJygWk3npfOCQPvsQgygvwa9SK2Xk/apYUVpT3RW5s68w0yorTXL9+ArOkfmGPsgs3JUH83fssJsIKJUFD2MfgScCvwInm9CKRinkuDvpdKdAEuLq7PVQYbwiU7uuwKqjITj3NEhN2z3+S6pPvtbwoP4U=
on:
tags: true
repo: avsecz/concise
Expand Down
10 changes: 10 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,3 +276,13 @@

# If true, do not generate a @detailmenu in the "Top" node's menu.
#texinfo_no_detailmenu = False

from unittest.mock import MagicMock

class Mock(MagicMock):
@classmethod
def __getattr__(cls, name):
return Mock()

MOCK_MODULES = ['builtins', 'pygtk', 'gtk', 'gobject', 'argparse', 'numpy', 'pandas']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)

0 comments on commit ac72a28

Please sign in to comment.