travis-ci: try to fix various test setup issues