Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating addEventListener to support older browsers #2763

Merged
merged 1 commit into from
Jun 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ node_js:
- "6.14.1"
- "8.11.1"
- "9.11.1"
# matrix:
# include:
# - node_js: "4.0"
# env: BROWSER=true
matrix:
include:
- node_js: "4.0"
env: BROWSER=true
before_install:
# - npm install -g [email protected]
# - npm install -g karma-cli
- npm install -g [email protected]
- npm install -g karma-cli
before_script:
# - npm install karma-sauce-launcher
# - export DISPLAY=:99.0
# - sh -e /etc/init.d/xvfb start
- npm install karma-sauce-launcher
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- npm test
# - "[ $BROWSER == false ] || npm run test-browser"
# - "[ $BROWSER == false ] || karma start karma.conf-sauce.js"
- "[ $BROWSER == false ] || npm run test-browser"
- "[ $BROWSER == false ] || karma start karma.conf-sauce.js"
notifications:
email: false
env:
Expand Down
22 changes: 9 additions & 13 deletions karma.conf-sauce.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,21 @@ var sauceBrowsers = _.reduce([
['chrome', '31'],
['chrome', '26'],

['microsoftedge', '20.10240', 'Windows 10'],
['internet explorer', '11', 'Windows 10'],
// ['microsoftedge', 'latest', 'Windows 10'],
// ['internet explorer', '11', 'Windows 10'],
['internet explorer', '10', 'Windows 8'],
['internet explorer', '9', 'Windows 7'],
// Currently disabled due to karma-sauce issues

// Currently disabled due to karma-sauce issues
// ['internet explorer', '8'],
// ['internet explorer', '7'],
// ['internet explorer', '6'],

['opera', '12'],
['opera', '11'],

['android', '5'],
['android', '4.4'],
['android', '4.3'],
['android', '4.0'],

//['android', 'latest']

['safari', '8.0', 'OS X 10.10'],
['safari', '7'],
['safari', '6'],
['safari', '5']

], function(memo, platform) {
// internet explorer -> ie
var label = platform[0].split(' ');
Expand All @@ -60,6 +54,8 @@ module.exports = function(config) {
basePath: '',
frameworks: ['qunit'],
singleRun: true,
browserDisconnectTolerance: 5,
browserNoActivityTimeout: 240000,

// list of files / patterns to load in the browser
files: [
Expand Down
Loading