summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml9
-rw-r--r--package.json2
2 files changed, 10 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 9feb56a..6cdb549 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,6 +4,8 @@ node_js:
- "0.12"
- "4"
- "6"
+addons:
+ firefox: "49.0"
sudo: false
after_success: npm run coveralls
@@ -12,3 +14,10 @@ after_success: npm run coveralls
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
+
+script:
+ # ensure buildable
+ - make
+ - npm test
+ # test in firefox
+ - npm run mocha-browser-test \ No newline at end of file
diff --git a/package.json b/package.json
index 85c8776..0341ac8 100644
--- a/package.json
+++ b/package.json
@@ -35,7 +35,7 @@
"cheerio": "^0.22.0",
"coveralls": "^2.11.2",
"es6-promise": "^2.3.0",
- "eslint": "^3.8.0",
+ "eslint": "^2.13.1",
"fs-extra": "^0.26.7",
"gh-pages-deploy": "^0.4.2",
"jsdoc": "^3.4.0",