Created
July 20, 2017 16:38
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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