update travis config file to fix failure for pull requests relating to deploying snapshots