Skip to content
This repository was archived by the owner on Sep 30, 2021. It is now read-only.

Commit 6ee2bef

Browse files
committed
change to firefox to be able to work on travis
1 parent eba8624 commit 6ee2bef

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,20 @@ language: node_js
22
node_js:
33
- 0.10.45
44

5+
before_script:
6+
- "export DISPLAY=:99.0"
7+
- "sh -e /etc/init.d/xvfb start"
8+
59
before_install:
610
- npm install -g grunt-cli
711
- npm install -g bower
812

913
install:
1014
- npm prune && npm install
1115
- bower prune && bower install
12-
- ./node_modules/grunt-protractor-runner/scripts/webdriver-manager-update
13-
- grunt
16+
- node_modules/protractor/bin/webdriver-manager update --standalone --firefox
17+
- node_modules/protractor/bin/webdriver-manager start 2>&1 &
18+
- sleep 3
1419

1520
script:
1621
- grunt test

protractor-e2e.conf.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22

33
exports.config = {
44
specs: ['test/e2e/*.spec.js', 'test/e2e/**/*.spec.js'],
5-
baseUrl: 'http://localhost:9999'
5+
baseUrl: 'http://localhost:9999',
6+
capabilities: {
7+
browserName: 'firefox'
8+
}
69
};

0 commit comments

Comments
 (0)