Permalink
Browse files

running tests (development and production) on local firefox in CI bef…

…ore running on sauce labs
  • Loading branch information...
1 parent d95ccf2 commit a5f6d368f3cb68d71995a2a603b0542ef226d85b @phillipskevin phillipskevin committed Jan 4, 2017
Showing with 5 additions and 1 deletion.
  1. +4 −0 .travis.yml
  2. +1 −1 package.json
View
@@ -2,6 +2,9 @@ sudo: false
language: node_js
node_js: node
before_install:
+- ./firefox-allow-popups.sh
+- "export DISPLAY=:99.0"
+- "sh -e /etc/init.d/xvfb start"
- |
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^docs)/'
then
@@ -14,3 +17,4 @@ before_script:
- sleep 2
addons:
sauce_connect: true
+ firefox: "latest"
View
@@ -12,7 +12,7 @@
"test": "npm run test-development && npm run test-production ",
"test-development": "npm run build && npm run testee",
"test-production": "npm run build && npm run build-tests && npm run testee-production",
- "ci": "npm run build && node test/test-sauce-labs.js",
+ "ci": "npm run build && npm run test && node test/test-sauce-labs.js",
"release:pre": "npm version prerelease && npm run build && npm publish",
"release:patch": "npm version patch && npm run build && npm publish",
"release:minor": "npm version minor && npm run build && npm publish",

0 comments on commit a5f6d36

Please sign in to comment.