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

rm-hull / OPi.GPIO / 11 / 1
77%
master: 77%

Build:
DEFAULT BRANCH: master
Ran 11 Mar 2017 10:05PM UTC
Files 5
Run time 0s
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

11 Mar 2017 09:58PM UTC coverage: 59.524%. Remained the same
TOXENV=py27

push

travis-ci

rm-hull
Mark _mode as global

This prevents:

Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/OPi/GPIO.py", line 273, in cleanup
    cleanup(_exports)
  File "/usr/local/lib/python3.4/dist-packages/OPi/GPIO.py", line 277, in cleanup
    cleanup(ch)
  File "/usr/local/lib/python3.4/dist-packages/OPi/GPIO.py", line 280, in cleanup
    pin = get_gpio_pin(_mode, channel)
UnboundLocalError: local variable '_mode' referenced before assignment

75 of 126 relevant lines covered (59.52%)

0.6 hits per line

Source Files on job 11.1 (TOXENV=py27)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11
  • Travis Job 11.1
  • a5762f68 on github
  • Prev Job for TOXENV=py27 on master (#9.1)
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