Skip to content

Commit e5dfc0a

Browse files
committed
Going back to multiple Travis builds per commit.
Doing it all in one build is taking forever. Splitting tests up into multiple parallel Travis builds like the pre-tox days since there's no Windows support yet. No need for coverage gymnastics. Dropping PyPy support. Just by itself tests take 30 minutes vs 3 minutes! Cleaning up .travis.yml. Obviously I was sleep deprived. Bumping dependency versions to latest (or near-latest).
1 parent 2d3cfeb commit e5dfc0a

File tree

3 files changed

+20
-13
lines changed

3 files changed

+20
-13
lines changed

.travis.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,26 @@
22
language: python
33
python: 3.5
44
sudo: false
5+
env:
6+
- TOX_ENV=lint
7+
- TOX_ENV=py35
8+
- TOX_ENV=py34
9+
- TOX_ENV=py33
10+
- TOX_ENV=py27
11+
- TOX_ENV=docs
512

613
# Run.
7-
install: pip install appveyor-artifacts coveralls tox
14+
install: pip install coveralls tox
815
before_script:
916
- git config --global user.email "[email protected]"
1017
- git config --global user.name "Travis CI"
11-
script: tox -e lint,py35,py34,py33,pypy,py27,docs
18+
script: tox -e $TOX_ENV
1219
after_success:
1320
- coveralls
21+
- '[ "$TOX_ENV" = "docs" ] || exit 0'
1422
- touch docs/key; chmod 600 docs/key # Secure before storing key data.
1523
- openssl aes-256-cbc -K $encrypted_9c2bf3fbb9ea_key -iv $encrypted_9c2bf3fbb9ea_iv -in docs/key.enc -out docs/key -d
1624
- eval `ssh-agent -s`; ssh-add docs/key
17-
- git config --global user.email "[email protected]"
18-
- git config --global user.name "Travis CI"
1925
- git remote set-url origin "[email protected]:$TRAVIS_REPO_SLUG"
2026
- export ${!TRAVIS*} # For commit messages.
2127
- tox -e docsV
@@ -37,4 +43,5 @@ deploy:
3743
kzxiCBVD4dqGxMh318BmwXdurgWZbia2DJWs+QBNs44kiSByQmXWFXo2KamiBZAez+AdBPgA\
3844
Hs/smp3nE3TI9cHQzzbhDFZftI4dtLf8osNI="
3945
on:
46+
condition: $TOX_ENV = py35
4047
tags: true

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sphinxcontrib-versioning
44

55
Sphinx extension that allows building versioned docs for self-hosting.
66

7-
* Python 2.7, PyPy, 3.3, 3.4, and 3.5 supported on Linux and OS X.
7+
* Python 2.7, 3.3, 3.4, and 3.5 supported on Linux and OS X.
88

99
📖 Full documentation: https://robpol86.github.io/sphinxcontrib-versioning
1010

tox.ini

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ commands =
1313
{posargs:tests}
1414
deps =
1515
pytest-catchlog==1.2.2
16-
pytest-cov==2.2.1
17-
sphinx_rtd_theme==0.1.9
16+
pytest-cov==2.3.0
17+
sphinx_rtd_theme==0.1.10a0
1818
passenv =
1919
HOME
2020
usedevelop = True
@@ -34,20 +34,20 @@ commands =
3434
python -c "assert 'VERSION = \'{[general]version}\'' in open('setup.py').read(102400)"
3535
python -c "assert '\n{[general]version} - ' in open('README.rst').read(102400)"
3636
deps =
37-
coverage==4.0.3
38-
flake8==2.5.4
37+
coverage==4.2b1
38+
flake8==2.5.5
3939
flake8-import-order==0.5
4040
flake8-pep257==1.0.5
41-
pep8-naming==0.3.3
42-
pylint==1.5.4
41+
pep8-naming==0.4.1
42+
pylint==1.6.4
4343

4444
[testenv:docs]
4545
changedir = {toxinidir}/docs
4646
commands =
4747
sphinx-build -a -E -W . _build/html
4848
deps =
49-
Sphinx==1.4.2
50-
sphinx-rtd-theme==0.1.9
49+
Sphinx==1.4.5
50+
sphinx-rtd-theme==0.1.10a0
5151

5252
[testenv:docsV]
5353
commands =

0 commit comments

Comments
 (0)