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

rm-hull / OPi.GPIO / 11
77%

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

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%)

2.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11.1 (TOXENV=py27) 11 Mar 2017 10:05PM UTC 0
59.52
Travis Job 11.1
2 11.2 (TOXENV=py34) 11 Mar 2017 10:05PM UTC 0
59.52
Travis Job 11.2
3 11.3 (TOXENV=py35) 11 Mar 2017 10:05PM UTC 0
59.52
Travis Job 11.3
4 11.4 (TOXENV=py36) 11 Mar 2017 10:06PM UTC 0
59.52
Travis Job 11.4
5 11.5 (TOXENV=qa) 11 Mar 2017 10:15PM UTC 0
Travis Job 11.5
6 11.6 (TOXENV=py37) 11 Mar 2017 10:05PM UTC 0
60.0
Travis Job 11.6
Source Files on build 11
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11
  • a5762f68 on github
  • Prev Build on master (#9)
  • Next Build on master (#30)
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