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

NGCP / GCS / 607
56%
master: 56%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/electron-9.0.3
DEFAULT BRANCH: master
Ran 04 Mar 2020 10:55AM UTC
Jobs 1
Files 2
Run time 1s
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

pending completion
607

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.

 ## 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

Jobs
ID Job ID Ran Files Coverage
1 607.1 04 Mar 2020 10:55AM UTC 0
55.9
Travis Job 607.1
Source Files on build 607
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Build #607
  • 23805a4e on github
  • Next Build on electron@latest (#200)
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

© 2025 Coveralls, Inc