Skip to content

Commit

Permalink
refs #17: Adapt CI/RTD scripts to fit with our directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Jul 24, 2017
1 parent 48504fc commit ea31e49
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -18,5 +18,6 @@ install:
- cd python && pip install -r requirements-ci.txt

# command to run tests
# (we are already in "python" directory here)
script:
- cd python && python -m pytest tests/
- python -m pytest tests/
4 changes: 3 additions & 1 deletion python/requirements-docs.txt
@@ -1 +1,3 @@
-e .[tf,docs]
# this is to be executed in RTD servers,
# where the current working directory is fixed to the repository root.
-e python[tf,docs]
2 changes: 2 additions & 0 deletions python/setup.py
Expand Up @@ -18,10 +18,12 @@
# Used in developers' PCs only
dev_requires = [
'pytest-sugar',
'sphinx',
'sphinx-rtd-theme',
]

# Used in ReadTheDocs build servers
# (actually they already have Sphinx, but let's specify it explicitly.)
docs_requires = [
'sphinx',
]
Expand Down

0 comments on commit ea31e49

Please sign in to comment.