Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
sudo: required
dist: trusty
env: DISPLAY=':99.0'
language: node_js

cache:
directories:
- node_modules
- ~/.selenium-assistant
addons:
apt:
update: true
sources:
- google-chrome
packages:
- dpkg
- google-chrome-stable

node_js:
- '6'
- '12'
- '8'
- '6'

install:
- npm install

# Read more here: https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start || echo \"Unable to start virtual display.\""
- sleep 3 # give xvfb some time to start

Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ and error with have an 'id' and 'message' parameter.
This method expected a testSuiteId, a browser name and the release version
and it will return a subscription.

The gcmSenderId and vapidPublicKey parameters are options BUT Chrome
requires one of them to work, otherwise you must catch the error.

http://localhost:8090/api/get-subscription/

**Input**
Expand All @@ -82,7 +79,6 @@ and error with have an 'id' and 'message' parameter.
testSuiteId: <Test Suite ID Number>,
browserName: <'chrome' | 'firefox'>,
browserVersion: <'stable' | 'beta' | 'unstable' >,
gcmSenderId: <Your GCM Sender ID>,
vapidPublicKey: <Base64 URL Encode Vapid Public Key>
}
```
Expand Down
Loading