Get Travis-CI builds to pass

Doing actual tty testing on Travis will probably be largely hopeless; Travis will probably only be good for unit tests. Might have to set up own environment (GitLab or something) for functional testing.