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

nightscout / cgm-remote-monitor / 1723
73%
master: 74%

Build:
Build:
LAST BUILD BRANCH: hotfix/upload_roomscan_video_preprod_11_3_22
DEFAULT BRANCH: master
Ran 19 Mar 2015 08:26PM UTC
Jobs 2
Files 18
Run time 18min
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
1723

push

travis-ci

bewest
allow API to search things better

This allows a query such as this to search for events of hypoglycemia for
example:
curl -g localhost:3434 \
     /api/v1/entries   \
     '?find[sgv][$lte]=70&find[sgv][$gte]=20&count=1000

It's possible to construct most mongo queries by url encoding the query string.
In this instance, mongo performs poorly when searching for lte/gte for strings.
In order for ranged queries to perform properly, the query parameters must be
set to integer type.  There is a quick and ugly helper to ensure that some sgv
queries will be respected as integer searches.

10 of 10 new or added lines in 2 files covered. (100.0%)

498 of 685 relevant lines covered (72.7%)

8.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
lib/api/treatments/index.js
4
100.0
lib/entries.js
Jobs
ID Job ID Ran Files Coverage
1 1723.1 19 Mar 2015 08:26PM UTC 0
72.7
Travis Job 1723.1
2 1723.2 19 Mar 2015 08:44PM UTC 0
72.7
Travis Job 1723.2
Source Files on build 1723
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1723
  • 95746ab5 on github
  • Next Build on wip/api-params (#1729)
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