Skip to content

Commit 6c8a237

Browse files
committed
bug 1382622, add environment to test python 2.7 with compare-locales, r=stas
compare-locales doesn't support py3 yet, so we don't add that environment yet. This adds tox-travis, so that we can add dependency management in tox, and use travis to run individual jobs per python version. Compare-locales or not are run in the same travis job.
1 parent 9718166 commit 6c8a237

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
sudo: false
12
language: python
23
python:
34
- "2.7"
45
- "3.5"
56
- "nightly"
6-
script: python -m unittest discover
7+
install: pip install tox-travis
8+
script: tox
79
notifications:
810
irc:
911
channels:

tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
[tox]
2-
envlist = py27, py36
2+
envlist = py27, py27-cl, py36
33
skipsdist=True
44

55
[testenv]
66
setenv =
77
PYTHONPATH = {toxinidir}
8+
deps =
9+
cl: compare-locales
10+
811
commands=python -m unittest discover

0 commit comments

Comments
 (0)