refactor config for Travis