mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Merge pull request #3364 from Calinou/add-travis-ci
Set up continuous integration using Travis CI
This commit is contained in:
12
.travis.yml
12
.travis.yml
@@ -1,11 +1,15 @@
|
||||
dist: bionic
|
||||
language: python
|
||||
|
||||
python:
|
||||
- "3.8"
|
||||
|
||||
stages:
|
||||
- build
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- name: Static checks (format.sh)
|
||||
- name: Static checks (format.sh) + Sphinx build
|
||||
stage: build
|
||||
os: linux
|
||||
addons:
|
||||
@@ -13,6 +17,12 @@ matrix:
|
||||
packages:
|
||||
- dos2unix
|
||||
- recode
|
||||
- texlive-full
|
||||
|
||||
script:
|
||||
- bash ./format.sh
|
||||
|
||||
- pip install -r requirements.txt
|
||||
# TODO: Add `-W` to turn warnings into errors.
|
||||
# This can only be done once all warnings have been fixed.
|
||||
- sphinx-build --color -b html -d _build/doctrees . _build/html
|
||||
|
||||
Reference in New Issue
Block a user