Skip to content

Commit 58f8d6f

Browse files
committed
Fix py27 and default/shared [testenv] in Travis
1 parent bad463d commit 58f8d6f

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

tox.ini

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,21 @@ skipsdist = true
66
passenv = HOME DISPLAY MOZ_HEADLESS PYTEST_ADDOPTS PYTEST_BASE_URL \
77
SAUCELABS_USR SAUCELABS_PSW JENKINS_URL JOB_NAME BUILD_NUMBER
88
deps = -raxe_selenium_python/tests/requirements/tests.txt
9-
commands = pytest \
10-
--verbose \
11-
--driver=SauceLabs \
12-
--base-url=https://web-mozillians-staging.production.paas.mozilla.community
9+
commands = pytest
10+
11+
[testenv:py27]
12+
commands = pytest
1313

1414
[testenv:py36]
15-
commands = pytest \
16-
--verbose \
17-
--driver=Firefox \
18-
--base-url=https://web-mozillians-staging.production.paas.mozilla.community
15+
commands = pytest
1916

2017
[testenv:flake8]
2118
deps = -raxe_selenium_python/tests/requirements/flake8.txt
2219
commands = flake8 {posargs:.}
2320

2421
[flake8]
2522
ignore = E501
23+
24+
[pytest]
25+
addopts = --verbose --driver=Firefox
26+
base_url = https://web-mozillians-staging.production.paas.mozilla.community

0 commit comments

Comments
 (0)