[go: nahoru, domu]

Skip to content

Commit

Permalink
Add PyPy, flake8, and Sphinx to Travis (#88)
Browse files Browse the repository at this point in the history
* Test under `pypy`

as per `CONTRIBUTING.rst`.

* Run flake8 and sphinx in Travis
  • Loading branch information
BarnabyShearer committed Jan 4, 2021
1 parent a8e9fb8 commit cfa4e58
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,13 @@ coverage.xml

# Sphinx documentation
docs/_build/
# Generated by sphinx-apidoc
docs/modules.rst
docs/boolrule.rst

# PyBuilder
target/

# PyCharm
.idea/

3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ python:
- 3.8
- 3.7
- 3.6
- 3.5
- 2.7
- pypy3
- pypy

# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -U tox-travis
Expand Down
Empty file added docs/_static/.keep
Empty file.
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[tox]
envlist = py27, py36, py37, py38 flake8
envlist = py27, py36, py37, py38, pypy, pypy3, flake8, docs

[travis]
python =
3.8: py38
3.7: py37
3.6: py36
2.7: py27

3.8: py38, flake8, docs

[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 boolrule

[testenv:docs]
commands=
sphinx-build -Wn docs docs/_build

[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/boolrule
Expand Down

0 comments on commit cfa4e58

Please sign in to comment.