Commit d8e2a818 by Clinton Blackburn

Fixed testing issues

- Using the latest version of Firefox on Travis
- Requiring Selenium 3.0.1 or later
- Added geckodriver to connect Selenium to Firefox
parent 0cc15efb
...@@ -11,6 +11,7 @@ cache: ...@@ -11,6 +11,7 @@ cache:
- node_modules - node_modules
- ecommerce/static/bower_components - ecommerce/static/bower_components
addons: addons:
firefox: latest
apt: apt:
packages: packages:
- lcov - lcov
......
...@@ -57,7 +57,7 @@ validate_js: ...@@ -57,7 +57,7 @@ validate_js:
$(NODE_BIN)/gulp jscs $(NODE_BIN)/gulp jscs
validate_python: clean validate_python: clean
REUSE_DB=1 coverage run --branch --source=ecommerce ./manage.py test ecommerce \ PATH=$$PATH:$(NODE_BIN) REUSE_DB=1 coverage run --branch --source=ecommerce ./manage.py test ecommerce \
--settings=ecommerce.settings.test --with-ignore-docstrings --logging-level=DEBUG --settings=ecommerce.settings.test --with-ignore-docstrings --logging-level=DEBUG
coverage report coverage report
make quality make quality
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"requirejs": "^2.1.18" "requirejs": "^2.1.18"
}, },
"devDependencies": { "devDependencies": {
"geckodriver": "^1.1.3",
"gulp": "^3.9.0", "gulp": "^3.9.0",
"gulp-jscs": "3.0.0", "gulp-jscs": "3.0.0",
"gulp-jshint": "1.12.0", "gulp-jshint": "1.12.0",
......
...@@ -11,6 +11,6 @@ mock-django==0.6.9 ...@@ -11,6 +11,6 @@ mock-django==0.6.9
nose-ignore-docstring==0.2 nose-ignore-docstring==0.2
pep8==1.6.2 pep8==1.6.2
pylint==1.5.0 pylint==1.5.0
selenium>=2.53.1 selenium>=3.0.1
testfixtures==4.5.0 testfixtures==4.5.0
diff-cover==0.9.6 diff-cover==0.9.6
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment