Skip to content
Merged
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
12 changes: 12 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ gallery_task:
env:
PY_VER: 3.8
name: "${CIRRUS_OS}: py${PY_VER} doc tests (gallery)"
container:
dockerfile: requirements/ci/Dockerfile
cpu: 2
memory: 4G
<< : *IRIS_TEST_DATA_TEMPLATE
<< : *LINUX_TASK_TEMPLATE
tests_script:
Expand All @@ -210,6 +214,10 @@ doctest_task:
MPL_RC_DIR: ${HOME}/.config/matplotlib
MPL_RC_FILE: ${HOME}/.config/matplotlib/matplotlibrc
name: "${CIRRUS_OS}: py${PY_VER} doc tests"
container:
dockerfile: requirements/ci/Dockerfile
cpu: 2
memory: 4G
<< : *IRIS_TEST_DATA_TEMPLATE
<< : *LINUX_TASK_TEMPLATE
tests_script:
Expand All @@ -234,6 +242,10 @@ doccheck_task:
MPL_RC_DIR: ${HOME}/.config/matplotlib
MPL_RC_FILE: ${HOME}/.config/matplotlib/matplotlibrc
name: "${CIRRUS_OS}: py${PY_VER} doc check"
container:
dockerfile: requirements/ci/Dockerfile
cpu: 2
memory: 4G
<< : *LINUX_TASK_TEMPLATE
tests_script:
- export CONDA_OVERRIDE_LINUX="$(uname -r | cut -d'+' -f1)"
Expand Down
3 changes: 3 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ def gallery(session: nox.sessions.Session):
"""
prepare_venv(session)
session.install("--no-deps", "--editable", ".")
session.install("sphinxcontrib-spelling", "pyenchant")
session.run(
"python",
"-m",
Expand All @@ -253,6 +254,7 @@ def doctest(session: nox.sessions.Session):
"""
prepare_venv(session)
session.install("--no-deps", "--editable", ".")
session.install("sphinxcontrib-spelling", "pyenchant")
session.cd("docs")
session.run(
"make",
Expand Down Expand Up @@ -280,6 +282,7 @@ def doccheck(session: nox.sessions.Session):
"""
prepare_venv(session)
session.install("--no-deps", "--editable", ".")
session.install("sphinxcontrib-spelling", "pyenchant")
session.cd("docs")
session.run(
"make",
Expand Down
12 changes: 12 additions & 0 deletions requirements/ci/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM gcc:latest

LABEL author="scitools" \
version="0.1" \
description="Docker image with gcc and enchant"

#
# install system-level dependencies
#
RUN apt-get update -y \
&& apt-get upgrade -y \
&& apt-get install -y enchant-2
4 changes: 0 additions & 4 deletions requirements/ci/py36.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,3 @@ dependencies:
- sphinx-gallery
- sphinx-panels
- sphinx_rtd_theme
- pip
- pip:
- sphinxcontrib-spelling
- pyenchant
4 changes: 0 additions & 4 deletions requirements/ci/py37.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,3 @@ dependencies:
- sphinx-gallery
- sphinx-panels
- sphinx_rtd_theme
- pip
- pip:
- sphinxcontrib-spelling
- pyenchant
4 changes: 0 additions & 4 deletions requirements/ci/py38.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,3 @@ dependencies:
- sphinx-gallery
- sphinx-panels
- sphinx_rtd_theme
- pip
- pip:
- sphinxcontrib-spelling
- pyenchant