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

openaps / oref0 / 8124
11%
master: 10%

Build:
Build:
LAST BUILD BRANCH: replace-git
DEFAULT BRANCH: master
Ran 17 Mar 2020 10:00PM UTC
Jobs 3
Files 55
Run time 2min
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
8124

push

travis-ci

web-flow
shared-node (#1361)

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

* Add code to run js code on a shared server.

This saves initilaztion time.

Worked for a day, which means testing only started.

* Fix a typo.

* Code to start shared node.

* Add code that verifies that shared node is answering to requests and
starting it if needed.

* Add code to store program input in order to test it.

* fix dashes to be underscores

* Add json file to shared code.

* Add code to capture data of json commands.

* New json funciontality, and changes from tests.

* Trival changes to white spaces handeling.

* Minor refactoring to the code.

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

* install socat on all platforms for shared-node

* remove non-json debug output breaking json parsing

* Merge branch 'tzachi-share-node-ns-status' of https://github.com/tzachi-dar/oref0 into tzachi-dar-tzachi-share-node-ns-status

Conflicts:
	bin/oref0-ns-loop.sh

* install socat on all platforms for shared-node

* remove non-json debug output breaking json parsing

* Remove temp files from the shared node.

Signed-off-by: Tzachi Dar <tzachi.dar@gmail.c... (continued)

685 of 10877 branches covered (6.3%)

1307 of 12429 relevant lines covered (10.52%)

1006.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8124.1 17 Mar 2020 10:00PM UTC 0
10.52
Travis Job 8124.1
2 8124.2 17 Mar 2020 10:00PM UTC 0
10.52
Travis Job 8124.2
3 8124.3 17 Mar 2020 10:00PM UTC 0
10.52
Travis Job 8124.3
Source Files on build 8124
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8124
  • 504a478c on github
  • Prev Build on dev (#8121)
  • Next Build on dev (#8129)
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