Skip to content

Commit

Permalink
Merge e4aee46 into 6ae6cc8
Browse files Browse the repository at this point in the history
  • Loading branch information
SonataCI committed Feb 11, 2020
2 parents 6ae6cc8 + e4aee46 commit c3fa109
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 26 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
on:
push:
paths:
- 'docs/**'

pull_request:
paths:
- 'docs/**'

name: Documentation

jobs:
build:
name: Build

runs-on: ubuntu-latest

steps:
- name: "Checkout"
uses: actions/checkout@v2

- name: "Set up Python 3.7"
uses: actions/setup-python@v1
with:
python-version: '3.7' # Semantic version range syntax or exact version of a Python version

- name: "Display Python version"
run: python -c "import sys; print(sys.version)"

- name: "Install Sphinx dependencies"
run: sudo apt-get install python-dev build-essential

- name: "Install custom requirements via pip"
run: pip install -r docs/requirements.txt

- name: "Build documentation"
run: make docs

doctor-rst:
name: DOCtor-RST

runs-on: ubuntu-latest

steps:
- name: "Checkout"
uses: actions/checkout@master

- name: "Run DOCtor-RST"
uses: docker://oskarstark/doctor-rst
with:
args: --short
env:
DOCS_DIR: 'docs/'
14 changes: 0 additions & 14 deletions .github/workflows/lint.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ env:
matrix:
fast_finish: true
include:
- php: '7.3'
env: TARGET=docs
- php: '7.3'
env: TARGET=lint
- php: '7.2'
Expand Down
6 changes: 0 additions & 6 deletions .travis/check_relevant_docs.sh

This file was deleted.

4 changes: 0 additions & 4 deletions .travis/install_docs.sh

This file was deleted.

0 comments on commit c3fa109

Please sign in to comment.