only run test task for pull request builds on travis