From f5ad9fe614fd32719a85b0b06140ae2c133b8ab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Wirtel?= Date: Fri, 7 May 2021 06:52:10 +0200 Subject: [PATCH 1/3] Remove the configuration for Travis-CI.org and use Github Actions --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ .travis.yml | 8 -------- 2 files changed, 27 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f7b8473 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: Tests + +on: + pull_request: + push: + branches: master + +jobs: + test: + name: test + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/cache@v1 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }} + restore-keys: | + ${{ runner.os }}-pip- + - uses: actions/setup-python@v2 + with: + python-version: 3.9 + - name: Install Dependencies + run: python3 -m pip install -U pip -r requirements.txt + - name: Build Docs + run: sphinx-build -n -W -q -b html -d _build/doctrees . _build/html diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index dfbbda1..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: python -python: 3.6 -cache: pip - -install: python3 -m pip install -U pip -r requirements.txt - -script: - - sphinx-build -n -W -q -b html -d _build/doctrees . _build/html From 0674e94e6abb2d0dd19382ae24cc845f473abeaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Wirtel?= Date: Fri, 7 May 2021 06:55:14 +0200 Subject: [PATCH 2/3] Disable the static directory in the build process --- conf.py | 1 - 1 file changed, 1 deletion(-) diff --git a/conf.py b/conf.py index 1fcb58a..efd527a 100644 --- a/conf.py +++ b/conf.py @@ -178,7 +178,6 @@ # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_build/html/_static'] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied From eb44a3a0785aba53cbdb76b5f0016607c3fb73f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Wirtel?= Date: Fri, 7 May 2021 07:07:39 +0200 Subject: [PATCH 3/3] Revert "Disable the static directory in the build process" This reverts commit 0674e94e6abb2d0dd19382ae24cc845f473abeaa. --- conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/conf.py b/conf.py index efd527a..1fcb58a 100644 --- a/conf.py +++ b/conf.py @@ -178,6 +178,7 @@ # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". +html_static_path = ['_build/html/_static'] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied