Skip to content
Permalink
Browse files

adding protractor options to fix travis failing

  • Loading branch information...
jloveland committed Oct 5, 2015
1 parent 7a9ee53 commit 83eb2dc2335668407573c2b8e15be9c256ec491f
Showing with 15 additions and 1 deletion.
  1. +6 −0 .travis.yml
  2. +9 −1 protractor.conf.js
@@ -15,6 +15,12 @@ before_install:
- gem update --system
- gem install sass --version "=3.3.7"
- npm i nsp -g
- npm install protractor
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- 'node_modules/protractor/bin/webdriver-manager update --standalone --firefox'
- 'node_modules/protractor/bin/webdriver-manager start 2>&1 &'
- sleep 3
after_script:
- nsp audit-package
- grunt coverage
@@ -1,6 +1,14 @@
'use strict';

// Protractor configuration
exports.config = {
var config = {
specs: ['modules/*/tests/e2e/*.js']
};

if (process.env.TRAVIS) {
config.capabilities = {
browserName: 'firefox'
};
}

exports.config = config;

0 comments on commit 83eb2dc

Please sign in to comment.
You can’t perform that action at this time.