Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: tox.ini

Issue 29350236: Issue 4373 - Made jshydra compatible with Python 3 (Closed)
Patch Set: Use urllib2, removed redundant future import, added option to test without caching Created Aug. 30, 2016, 11:33 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « autotest.py ('k') | utils.py » ('j') | utils.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tox.ini
===================================================================
new file mode 100644
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,13 @@
+[tox]
+envlist = py27,py35
+skipsdist = true
+
+[testenv]
+whitelist_externals = sh
+commands =
+ # In order to make sure that the code downloading jsshell gets
+ # tested call "tox nocache". Consider calling "tox" (without arguments)
+ # afterwards to test the other scenario as well.
+ sh -c '[ "{posargs}" = "nocache" ] && rm -rf mozilla* || true'
+
+ python autotest.py
« no previous file with comments | « autotest.py ('k') | utils.py » ('j') | utils.py » ('J')

Powered by Google App Engine
This is Rietveld