Skip to content

Commit

Permalink
[py] Run unit tests on Python 3.3, 3.4, and 3.5 (SeleniumHQ#3638)
Browse files Browse the repository at this point in the history
  • Loading branch information
llaskin authored and davehunt committed Mar 13, 2017
1 parent 25bad84 commit 7349fc8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,15 @@ matrix:
env: TOXENV=py27-remote
addons:
firefox: latest
- language: python
python: 3.3
env: TOXENV=py33-unit
- language: python
python: 3.4
env: TOXENV=py34-unit
- language: python
python: 3.5
env: TOXENV=py35-unit
- language: python
python: 3.6
env: TOXENV=flake8
Expand Down
6 changes: 3 additions & 3 deletions py/tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[tox]
envlist = py{27,36}-{unit,chrome,edge,firefox,ie,phantomjs,remote,safari}, docs, flake8
envlist = py{27,33,34,35,36}-{unit,chrome,edge,firefox,ie,phantomjs,remote,safari}, docs, flake8

[testenv]
passenv = DISPLAY PYTEST_ADDOPTS
commands =
py{27,36}-unit: py.test -n=auto {posargs:test/unit}
py{27,33,34,35,36}-unit: py.test -n=auto {posargs:test/unit}
py{27,36}-chrome: py.test -n=auto --driver=Chrome {posargs}
py{27,36}-edge: py.test --driver=Edge {posargs}
py{27,36}-firefox: py.test -n=auto --driver=Firefox {posargs}
Expand All @@ -19,7 +19,7 @@ deps =
pytest-instafail==0.3.0
pytest-mock==1.5.0
py{27,36}-phantomjs: psutil==4.3.1
py{27,36}-{unit,chrome,firefox,marionette,phantomjs}: pytest-xdist==1.15
py{27,33,34,35,36}-{unit,chrome,firefox,marionette,phantomjs}: pytest-xdist==1.15

[testenv:docs]
skip_install = true
Expand Down

0 comments on commit 7349fc8

Please sign in to comment.