Skip to content

Commit

Permalink
simplier travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
astik committed Jul 31, 2017
1 parent 55ac137 commit 1b0b50a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
sudo: required
dist: trusty
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
chrome: stable

language: node_js

Expand All @@ -20,6 +15,7 @@ before_script:

before_install:
- npm install -g grunt-cli
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &

install:
- npm prune && npm install
Expand Down
5 changes: 1 addition & 4 deletions protractor-e2e.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ exports.config = {
specs: ['test/e2e/*.spec.js', 'test/e2e/**/*.spec.js'],
baseUrl: 'http://localhost:9999',
capabilities: {
browserName: 'chrome',
chromeOptions: {
args: [ "--headless", "--disable-gpu", "--window-size=800,600" ]
}
browserName: 'chrome'
}
};

0 comments on commit 1b0b50a

Please sign in to comment.