File tree Expand file tree Collapse file tree 4 files changed +32
-10
lines changed
axe_selenium_python/tests Expand file tree Collapse file tree 4 files changed +32
-10
lines changed Original file line number Diff line number Diff line change 11sudo : required
2- language : python
3- services :
4- docker
5- env :
6- - TOXENV=flake8
7- before_install : docker build -t axe-selenium-python .
8- install : skip
9- script :
10- - docker run -e TOXENV=$TOXENV axe-selenium-python tox
2+ jobs :
3+ include :
4+ - stage :
5+ language : python
6+ services :
7+ docker
8+ env :
9+ - TOXENV=flake8
10+ before_install : docker build -t axe-selenium-python .
11+ install : skip
12+ script :
13+ - docker run -e TOXENV=$TOXENV axe-selenium-python tox
14+ - stage :
15+ language : python
16+ services :
17+ docker
18+ env :
19+ - TOXENV=py36
20+ before_install : docker build -t axe-selenium-python .
21+ install : skip
22+ script :
23+ - docker run -e TOXENV=$TOXENV axe-selenium-python tox
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ axe-selenium-python integrates aXe and selenium to enable automated web accessib
1111.. image :: https://img.shields.io/pypi/v/axe-selenium-python.svg?style=for-the-badge
1212 :target: https://pypi.org/project/axe-selenium-python/
1313 :alt: PyPI
14+ .. image :: https://img.shields.io/travis/mozilla-services/axe-selenium-python.svg?style=for-the-badge
15+ :target: https://travis-ci.org/mozilla-services/axe-selenium-python
16+ :alt: Travis
1417.. image :: https://img.shields.io/pypi/wheel/axe-selenium-python.svg?style=for-the-badge
1518 :target: https://pypi.org/project/axe-selenium-python/
1619 :alt: wheel
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def test_report(axe):
2626
2727@pytest .mark .nondestructive
2828def test_write_results (base_url , axe ):
29- """Assert that write results method creates a file."""
29+ """Assert that write results method creates a non-empty file."""
3030 axe .inject ()
3131 data = axe .execute ()
3232 filename = 'results.json'
Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ commands = pytest \
1111 --driver =SauceLabs \
1212 --base-url =https://web-mozillians-staging.production.paas.mozilla.community
1313
14+ [testenv:py36]
15+ commands = pytest \
16+ --verbose \
17+ --driver =Firefox \
18+ --base-url =https://web-mozillians-staging.production.paas.mozilla.community
19+
1420[testenv:flake8]
1521deps = -raxe_selenium_python/tests/requirements/flake8.txt
1622commands = flake8 {posargs:.}
You can’t perform that action at this time.
0 commit comments