Skip to content

Instantly share code, notes, and snippets.

@JayH5
Created January 28, 2019 13:52
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 JayH5/f421551d4a5e60132dd2870666c6eb7d to your computer and use it in GitHub Desktop.
Save JayH5/f421551d4a5e60132dd2870666c6eb7d to your computer and use it in GitHub Desktop.
Travis inline script example
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