summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-11-04 22:07:28 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-11-04 23:07:54 +0900
commit242c63dc8bb22ee4aab769eafee129b293aeaf01 (patch)
tree2db8eb24126def8d79a6e2d555c8d84afee4d9f4
parent17299d1392c9f0e5b911510c58c8e53883273275 (diff)
downloadsphinx-git-242c63dc8bb22ee4aab769eafee129b293aeaf01.tar.gz
Do testing at GitHub Actions
-rw-r--r--.github/workflows/main.yml33
-rw-r--r--.travis.yml6
2 files changed, 31 insertions, 8 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 7acfef6d2..1750a764a 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1,9 +1,38 @@
-name: CI on Windows
+name: CI
on: [push, pull_request]
jobs:
- build:
+ ubuntu:
+ runs-on: ubuntu-16.04
+ strategy:
+ fail-fast: false
+ matrix:
+ name: [py36, py37]
+ include:
+ - name: py36
+ python: 3.6
+ docutils: du13
+ - name: py37
+ python: 3.7
+ docutils: du14
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python ${{ matrix.python }}
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python }}
+ - name: Check Python version
+ run: python --version
+ - name: Install graphviz
+ run: sudo apt-get install graphviz
+ - name: Install dependencies
+ run: pip install -U tox
+ - name: Run Tox
+ run: tox -e ${{ matrix.docutils }} -- -vv
+
+ windows:
runs-on: windows-latest
strategy:
matrix:
diff --git a/.travis.yml b/.travis.yml
index 47a8e7c7a..8e971a356 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,12 +14,6 @@ jobs:
- python: '3.5'
env:
- TOXENV=du12
- - python: '3.6'
- env:
- - TOXENV=du13
- - python: '3.7'
- env:
- - TOXENV=du14
- python: '3.8'
env:
- TOXENV=du15