Added travis configuration for auto builds #18
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Travis-CI is free for public repos. To setup travis, go to https://travis-ci.org and add this repository. Go to the settings within that repository and set the following environment variables:
DOCKER_EMAIL
DOCKER_USERNAME
DOCKER_PASSWORD
These environment variables enable Travis-CI to login to docker... the user should have write permissions to the repo. The below segment is executed if all other steps pass successfully. This process will not run in the event of any kind of terminating failure (such as failure to
docker build
). The travis-ci process gets run at every pull request and/or push (depending on how you configure the repo) this section is only executed when a new github release is made. This means creating a new Release will trigger the CI build process and will eventually get pushed to DockerHub.