Skip to content

Commit

Permalink
some more cleanup and extras stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Apr 29, 2019
1 parent 92d607b commit bee2e68
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- run: *skip-check
- run: *apt-install
- run: *tox-install
- run: tox -e py37-offline
- run: tox -e py37
- run: codecov

tests-36:
Expand All @@ -50,7 +50,7 @@ jobs:
- run: *skip-check
- run: *apt-install
- run: *tox-install
- run: tox -e py36-offline
- run: tox -e py36
- run: codecov

html-docs:
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ docs =
sphinx
sphinx-astropy
sphinx-gallery
pytest

tests =
pytest
pytest-cov
pytest-astropy
pytest-mock
Expand Down
15 changes: 7 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{36,37}-offline, py37-build_docs
envlist = py{36,37}, py37-build_docs

[testenv]
setenv =
Expand All @@ -12,10 +12,9 @@ deps =
git+https://github.com/Cadair/gwcs@dkist
git+https://github.com/sunpy/sunpy
git+https://github.com/sunpy/ndcube
build_docs: sphinx
build_docs: sphinx-astropy
build_docs: sphinx-gallery
build_docs: git+https://bitbucket.org/dkistdc/dkist-sphinx-theme.git
commands =
offline: pytest --cov=./dkist
build_docs: sphinx-build docs docs/_build/html -W -b html
commands = pytest --cov=./dkist

[testenv:build_docs]
basepython = python3.7
extras = docs
commands = sphinx-build docs docs/_build/html -W -b html

0 comments on commit bee2e68

Please sign in to comment.