Skip to content

Instantly share code, notes, and snippets.

@chrisguitarguy
Created July 20, 2017 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisguitarguy/8b995b172c0e576ba5f6d96a2193f71a to your computer and use it in GitHub Desktop.
Save chrisguitarguy/8b995b172c0e576ba5f6d96a2193f71a to your computer and use it in GitHub Desktop.
Example of how to conditionally run something on travis CI only on pull requests
script:
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then ./bin/dev/fixcs; fi'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment