Skip to content

Commit

Permalink
Push Docker image to Docker Hub
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaime Arias committed Dec 16, 2017
1 parent c811162 commit 1123e28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ script:

after_success:
- docker run --rm -e TRAVIS=$TRAVIS -e TRAVIS_JOB_ID=$TRAVIS_JOB_ID -v ${PWD}:/output:rw -e LOCAL_USER_ID=`id -u $USER` pyhrf/pyhrf bash -c "cd /output; coveralls"
- if [ -n "$TRAVIS_TAG" ]; then
docker tag pyhrf/pyhrf pyhrf/pyhrf:$TRAVIS_TAG;
docker push pyhrf/pyhrf:$TRAVIS_TAG;
fi

0 comments on commit 1123e28

Please sign in to comment.