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

openaps / oref0 / 2227
11%
master: 10%

Build:
Build:
LAST BUILD BRANCH: replace-git
DEFAULT BRANCH: master
Ran 12 Mar 2017 12:35AM UTC
Jobs 2
Files 44
Run time 6s
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
2227

push

travis-ci

scottleibrand
oref0-setup.sh new cron line for proper shutdown (#395)

* oref0-setup.sh new cron line for proper shutdown

Adding a new cronline for proper shutdown in case the edison battery is empty (< 3050mV; 2950mV is dead)

* running each 15 min (in case of failure one is able to power on and perform `crontab -r`
* using `openaps battery-status`
* parsing monitor/edison-battery.json using `awk` searching for the 2nd column `$2` for the voltage value
* e.g. content of monitor/edison-battery.json `{"batteryVoltage":4057, "battery":88}`
* in case the voltage is < 3050mV `sudo shutdown -h now` will be performed
* when monitor/edison-battery.json is empty or does not exist, nothing is done

* Update oref0-setup.sh

394 of 1307 branches covered (30.15%)

783 of 2517 relevant lines covered (31.11%)

221.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2227.1 12 Mar 2017 12:35AM UTC 0
30.78
Travis Job 2227.1
2 2227.2 12 Mar 2017 12:35AM UTC 0
30.78
Travis Job 2227.2
Source Files on build 2227
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2227
  • 02083197 on github
  • Prev Build on dev (#2225)
  • Next Build on dev (#2238)
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