Last active
August 29, 2018 14:41
-
-
Save todkap/3a8d7a18503c25406feaa6c740ed41c3 to your computer and use it in GitHub Desktop.
Sample application travis build process
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
language: node_js | |
node_js: | |
- "8" | |
branches: | |
only: | |
- master | |
services: | |
- 'docker' | |
before_script: | |
- 'make prereqs-ibmcloud' | |
- 'make login-ibmcloud' | |
# first execute the test suite. | |
# after the test execution is done and didn't | |
# fail, build the images (if this step fails | |
# the whole Travis build is considered a failure). | |
script: | |
- 'make test' | |
- 'make image' | |
- 'make push-image' | |
after_success: | |
- echo 'completed build process successfully' | |
notifications: | |
webhooks: | |
urls: | |
- ${TARGET_IP} ## trigger playground-deployer build process | |
on_success: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment