Fix travis fails on pull requests