Fix travis scripts to not attempt mvn deploy for pull requests