• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NGCP / GCS / 615 / 1
56%
master: 56%

Build:
DEFAULT BRANCH: master
Ran 05 Mar 2020 06:32AM UTC
Files 2
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Mar 2020 06:30AM UTC coverage: 55.901%. Remained the same
615.1

push

travis-ci-com

Luis729
Allow GCS to use latest version of electron

 ## Why is the change being made?

This change is made because GCS was running on electron v3, a version
made back two years ago. This version is long deprecated and GCS needed
to upgrade to v8 sooner or later. However, electron v5 would not build
at all (we dont consider v4 as it does not support geolocation).

 ## What has changed to address the problem?

This change finds the issue to be the fact electron v5+ turns off the
`nodeIntegration` field for windows (used to be on by default). This was
breaking our application.

This change sets `nodeIntegration` to true for all windows created, and
updates electron to v8. Other related fields that were modified from v3
to v8 are updated in this change.

Other minor changes are the following:
- removing dependency on `electron-rebuild` and setting `preinstall` script
to `electron-builder install-app-deps` in `package.json`
- removing `build` field in `package.json` as `electron-rebuild` is no
longer a dependency
- added dependency to `@types/node` v12 as default version v13 breaks tests with
electron v8 (see https://github.com/electron/electron/issues/21612)

 ## How was this change tested?

This change was tested with `npm test`, running the application and
seeing if it was fine, and running the application from `npm run build`
and seeing if it was fine (checking console, build status, and if
serialport runs).

 ## Related documents, URLs, commits

https://github.com/electron/electron/releases/tag/v5.0.0

28 of 60 branches covered (46.67%)

Branch coverage included in aggregate %.

62 of 101 relevant lines covered (61.39%)

6.27 hits per line

Source Files on job 615.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 71
  • Travis Job 615.1
  • 9a2bfdbf on github
  • Prev Job for on master (#600.1)
  • Next Job for on master (#620.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc