From 0440308592db91b8f4cf8d8f7f3d2273498cc19e Mon Sep 17 00:00:00 2001 From: Eric Holscher Date: Fri, 12 Oct 2018 10:54:50 +0200 Subject: [PATCH] Run travis against multiple sphinx versions --- .travis.yml | 4 +++- tox.ini | 9 +++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index d4c4841..8565b35 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: python python: - 2.7 - - 3.4 - 3.5 - 3.6 sudo: false @@ -15,3 +14,6 @@ notifications: - readthedocs:y3hjODOi7EIz1JAbD1Zb41sz#random on_success: change on_failure: always +branches: + only: + - master diff --git a/tox.ini b/tox.ini index cf32e34..966b139 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,11 @@ [tox] envlist = - py{27,34,35,36} + py{27,35,36}-sphinx{16,17,18}, lint docs [tox:travis] -2.7 = py27, docs, #lint -3.4 = py34 +2.7 = py27, docs, lint 3.5 = py35 3.6 = py36 @@ -16,7 +15,9 @@ setenv = deps = . pytest - sphinx<1.7 + sphinx16: Sphinx < 1.7 + sphinx17: Sphinx < 1.8 + sphinx18: Sphinx < 1.9 commands = py.test {posargs}