Created
January 28, 2019 13:52
-
-
Save JayH5/f421551d4a5e60132dd2870666c6eb7d to your computer and use it in GitHub Desktop.
Travis inline script example
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
after_script: | |
- | | |
lockfile="puppet/$ENVIRONEMT/Puppetfile.lock" | |
if [[ $(git status -s "$lockfile") ]]; then | |
echo "The librarian-puppet lockfile ($lockfile) has changes." | |
echo 'Please run `bundle exec rake module_install` and commit the changes.' | |
exit 1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment