2017-04-09 18:54:04 +03:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
language: python
|
|
|
|
python: "2.7"
|
2017-04-20 13:55:56 +03:00
|
|
|
env: CFLAGS="-std=c90 -pedantic -Wno-long-long -Werror"
|
2017-04-09 18:54:04 +03:00
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
language: python
|
|
|
|
python: "3.3"
|
2017-04-13 22:22:41 +03:00
|
|
|
env: CFLAGS="-std=c90 -pedantic -Wno-long-long -Werror"
|
2017-04-09 18:54:04 +03:00
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
language: python
|
|
|
|
python: "3.4"
|
2017-04-13 22:22:41 +03:00
|
|
|
env: CFLAGS="-std=c90 -pedantic -Wno-long-long -Werror"
|
2017-04-09 18:54:04 +03:00
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
language: python
|
|
|
|
python: "3.5"
|
2017-04-13 22:22:41 +03:00
|
|
|
env: CFLAGS="-std=c90 -pedantic -Wno-long-long -Werror"
|
2017-04-09 18:54:04 +03:00
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
language: python
|
|
|
|
python: "3.6"
|
|
|
|
|
|
|
|
install:
|
|
|
|
- travis_retry sudo apt-get update -q
|
|
|
|
- travis_retry sudo apt-get install -y libcairo2-dev
|
2017-05-03 00:03:34 +03:00
|
|
|
- python -m pip install --upgrade pytest flake8 sphinx sphinx_rtd_theme
|
2017-04-09 18:54:04 +03:00
|
|
|
|
|
|
|
script:
|
|
|
|
- python setup.py test
|
2017-05-01 17:20:39 +03:00
|
|
|
- python -m flake8 .
|
2017-05-03 00:03:34 +03:00
|
|
|
- if [ "$TRAVIS_PYTHON_VERSION" != "3.3" ]; then python -m sphinx -W -a -E -b html -n docs docs/_build; fi
|