Skip to content

Commit

Permalink
Merge pull request #21 from refinery-platform/scottx611x/fix_deployment
Browse files Browse the repository at this point in the history
Fix deployment
  • Loading branch information
scottx611x authored Apr 17, 2018
2 parents 464b8ec + 2e66ac1 commit 17fd771
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ script:
- ./build_run_test.sh
after_success:
- IMAGE=`docker ps --latest --format '{{ .Image }}'` # TODO: with more containers, can't rely on ordering
- echo $IMAGE
- tag_push() { echo "Tagging into $2"; docker tag $1 $2; docker push $2; }
- docker login -u mccalluc -p $DOCKER_PASS
- tag_push $IMAGE $REPO
Expand Down
2 changes: 1 addition & 1 deletion test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __enter__(self):
self.run()

def __exit__(self, *args):
if os.environ.get("CONTINUOUS_INTEGRATION") is not None:
if not os.environ.get("CONTINUOUS_INTEGRATION"):
self.cleanup_containers()

def _pull_image(self):
Expand Down

0 comments on commit 17fd771

Please sign in to comment.