Skip to content

Commit 5f3f62a

Browse files
committed
Use GithubAction instead of Travis
for building the docs
1 parent ea93e70 commit 5f3f62a

File tree

2 files changed

+35
-15
lines changed

2 files changed

+35
-15
lines changed

.github/workflows/ci.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
on:
2+
push:
3+
branches-ignore:
4+
- 'github-comments'
5+
pull_request:
6+
branches-ignore:
7+
- 'github-comments'
8+
9+
name: CI
10+
11+
jobs:
12+
build:
13+
name: Build
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Set up Python 3.x
18+
uses: actions/setup-python@v1
19+
with:
20+
python-version: '3.7' # Semantic version range syntax or exact version of a Python version
21+
- name: Display Python version
22+
run: python -c "import sys; print(sys.version)"
23+
- run: sudo apt-get install python-dev build-essential
24+
- run: pip install --user sphinx
25+
- run: pip install -r _build/.requirements.txt
26+
- run: make -C _build SPHINXOPTS=-nW html
27+
doctor-rst:
28+
name: DOCtor-RST
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v2
32+
- name: DOCtor-RST
33+
uses: docker://oskarstark/doctor-rst
34+
with:
35+
args: --short

.travis.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)