travis: added config and fixed more dependency problems