summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordotnetCarpenter <jon.ronnenberg@gmail.com>2016-10-05 13:52:33 +0200
committerdotnetCarpenter <jon.ronnenberg@gmail.com>2016-10-05 13:52:33 +0200
commitce4b12beea7124a40424237e8abf33d4a0840f47 (patch)
treefb851a30aec044bcffae32d8c183fe96994c0266
parent0dda4ceaef434ba7b83b67b013811ae68f49f414 (diff)
downloadsvg.js-ce4b12beea7124a40424237e8abf33d4a0840f47.tar.gz
svg.js-ce4b12beea7124a40424237e8abf33d4a0840f47.zip
Many of the failing tests are rounding errors. Different browsers delivered different results. Thats why we took chrome as base.
-rw-r--r--.travis.yml2
-rw-r--r--karma.conf.js2
-rw-r--r--package.json1
3 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 21733eb..ada05da 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,6 +5,6 @@ script: npm test
sudo: true
before_install:
- sudo apt-get -qq update
- - sudo apt-get install -y firefox
+ - sudo apt-get install -y chromium
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
diff --git a/karma.conf.js b/karma.conf.js
index 08ca89c..facc3d6 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -65,7 +65,7 @@ module.exports = function(config) {
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
- browsers: ['Firefox'],
+ browsers: ['Chromium'],
// Continuous Integration mode
diff --git a/package.json b/package.json
index a6d6856..0158eae 100644
--- a/package.json
+++ b/package.json
@@ -66,6 +66,7 @@
"gulp-wrap": "^0.13.0",
"jasmine-core": "^2.5.2",
"karma": "^1.3.0",
+ "karma-chrome-launcher": "^2.0.0",
"karma-firefox-launcher": "^1.0.0",
"karma-jasmine": "^1.0.2",
"request": "^2.75.0"