Created
April 22, 2016 20:54
-
-
Save bazwilliams/124d549e22737eaa49eb94cd5c20c319 to your computer and use it in GitHub Desktop.
Example Travis-CI configuration yml for building .Net projects, testing and building Docker images for pushing to Dockerhub
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: csharp | |
cache: | |
directories: | |
- packages | |
sudo: required | |
services: | |
- docker | |
before_install: | |
- make nuget | |
before_script: | |
- docker login -u $DOCKER_HUB_USERNAME -p $DOCKER_HUB_PASSWORD -e $DOCKER_HUB_EMAIL | |
script: | |
- make compile test | |
- make all-the-dockers | |
- make docker-push | |
after_success: | |
- make docker-tag | |
- make docker-push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment