2013-11-15 14:29:42 -08:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.6"
|
|
|
|
- "2.7"
|
|
|
|
- "3.3"
|
2016-04-27 22:41:43 -07:00
|
|
|
- "3.4"
|
|
|
|
- "3.5"
|
2013-11-15 14:29:42 -08:00
|
|
|
- "pypy"
|
2016-04-27 22:50:35 -07:00
|
|
|
#- "pypy3" # Looks like Sphinx (as of 1.4.1) is not pypy3 compat
|
2013-11-15 14:29:42 -08:00
|
|
|
install:
|
|
|
|
- pip install -r dev-requirements.txt
|
2016-10-10 11:52:31 -07:00
|
|
|
matrix:
|
|
|
|
# Only need to really test Sphinx 1.3 once, all combos is pointless.
|
|
|
|
include:
|
|
|
|
- python: 2.7
|
|
|
|
env: SPHINX_13=true
|
2013-11-15 14:29:42 -08:00
|
|
|
script:
|
2016-10-10 11:38:28 -07:00
|
|
|
# NOTE: this is the best-supported method for testing multiple dependency
|
|
|
|
# versions right now, see
|
|
|
|
# https://docs.travis-ci.com/user/languages/python/#Testing-Against-Multiple-Versions-of-Dependencies-(e.g.-Django-or-Flask)
|
|
|
|
# NOTE: could strip out from dev-reqs.txt entirely, but what's the point?
|
2016-10-10 11:58:51 -07:00
|
|
|
- "if [[ $SPHINX_13 == true ]]; then pip install 'sphinx<1.4'; fi"
|
2014-04-06 10:50:22 -07:00
|
|
|
# Primary test suite
|
2013-11-15 14:29:42 -08:00
|
|
|
- inv test
|
2014-04-06 10:50:22 -07:00
|
|
|
# Integration-level test suite (hard to reliably test full stack in-code :()
|
|
|
|
- inv test -o --tests=integration
|
2014-09-04 19:04:50 -07:00
|
|
|
# Docs sanity check
|
|
|
|
- inv docs
|