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

openaps / oref0 / 8093 / 1
11%
master: 10%

Build:
Build:
LAST BUILD BRANCH: replace-git
DEFAULT BRANCH: master
Ran 14 Feb 2020 02:23AM UTC
Files 54
Run time 7s
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

14 Feb 2020 02:22AM UTC coverage: 10.66%. Remained the same
8093.1

push

travis-ci

web-flow
Upload NS status when possible. (#1346)

* Upload NS status when possible.

Before this checkin, ns-loop created the status data, and uploaded it to nightscout (if possible).
But in case of failure, the file will get overwritten.
This means that in the case of no internet, OAPS decisions get lost.
This checkin fixes it by adding timestamps to the files.
When internet is available, the files will be uploaded according to the correct order.
Files older than a day will be deleted.

Testing:
I have prevented uploading of files for a few hours, and when it was enabled again, data was shown correctly in nightscout site.
Decreased timeout, and saw the files being deleted.

Signed-off-by: Tzachi Dar <tzachi.dar@gmail.com>

* In the case that a status file does not contain iob delete it instead of uploading it.

Signed-off-by: Tzachi Dar <tzachi.dar@gmail.com>

690 of 10847 branches covered (6.36%)

1310 of 12289 relevant lines covered (10.66%)

339.42 hits per line

Source Files on job 8093.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 6932
  • Travis Job 8093.1
  • 188487be on github
  • Prev Job for on dev (#8071.1)
  • Next Job for on dev (#8097.2)
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