8000 Use GithubAction instead of Travis · symfony/symfony-docs@c12b18b · GitHub
[go: up one dir, main page]

Skip to content

Commit c12b18b

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

File tree

2 files changed

+26
-15
lines changed

2 files changed

+26
-15
lines changed

.github/workflows/ci.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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@v1
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

.travis.yml

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

0 commit comments

Comments
 (0)
0