gpio: cleanup test code
ci: fix travis.yml so that failure is captured properly

subtle errors in the config were causing test failures to be ignored