Skip to content

Commit

Permalink
Merge pull request humanprotocol#210 from hCaptcha/fix/dist
Browse files Browse the repository at this point in the history
Add docker script to travis deploy
  • Loading branch information
uivlis authored Jul 23, 2020
2 parents 4b08381 + 638286e commit 95019d5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
20 changes: 11 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
sudo: required
language: python
python:
- "3.6"

- '3.6'
services:
- docker

script:
- "./bin/ci"

deploy:
provider: pypi
- provider: pypi
user: dev-im
# This edge argument is intended to work around issue:
# https://github.com/travis-ci/dpl/pull/834#issuecomment-434036325
edge:
source: ssbarnea/dpl
branch: master
password:
secure: "hhjn47GalCnADFUsLerOZALSHISeJbXyZ3N2UzChGsO3y3mERY7TD5eGFgXSkr+KlOq3Z96Im+N2f4TviRo9F87i0Z1jYAIIURDYFTJ90UQUugdyY5hjuPDDUYbEZbkcZVroW3Uq9dUpe4KcAnVFZmwIT0DEUTEgdyNzgkxMNBEobu/ZAu2tkWHu6PTWaJcpp+jII3vpay1o3HJbGdrbX9DLyC9ODHG7XJuePddQmDLuOTKOfnNxqo1tBkaw3a49bW2G1JWYpfof7l8AMaeCikRownAd0NrolDkRc19VfflvSe4w1FMYRGnZy1IJRo16olQEQiyDp8vBbAFe0xq6yncUsf12wXyRGFQqDgJXJImm0lg3oj8/4ag+ZxR8XvxGEgb+IWuqy+CD9bAVBbKRWQKeCgg2PQjTl7INoDIAaJ8f/Z65fhSB3uPZ1FlE8pBnNSFF0Lma2HGp1fIFM+jEH+WLbZKrUvYTXYvbfTUMwY41+u6Q+PEEkhqvNslOFTn2TZXwJSk0Eyq/FfhGS4jw5Bs/ngBybVSoB4ypHClo/dJcAVCl2KDx7Pc+GI1ZxNE1D6sJnOS4E6jJJdZYC9s/UQacHvTke+G3dXii9Y9BzEd508irw2DC0s+uJnSGzUm57tWHEbNAn+noZ0dhzLwCl7Jb6Uqe5sZDHK5/CqUcZeE="
secure: hhjn47GalCnADFUsLerOZALSHISeJbXyZ3N2UzChGsO3y3mERY7TD5eGFgXSkr+KlOq3Z96Im+N2f4TviRo9F87i0Z1jYAIIURDYFTJ90UQUugdyY5hjuPDDUYbEZbkcZVroW3Uq9dUpe4KcAnVFZmwIT0DEUTEgdyNzgkxMNBEobu/ZAu2tkWHu6PTWaJcpp+jII3vpay1o3HJbGdrbX9DLyC9ODHG7XJuePddQmDLuOTKOfnNxqo1tBkaw3a49bW2G1JWYpfof7l8AMaeCikRownAd0NrolDkRc19VfflvSe4w1FMYRGnZy1IJRo16olQEQiyDp8vBbAFe0xq6yncUsf12wXyRGFQqDgJXJImm0lg3oj8/4ag+ZxR8XvxGEgb+IWuqy+CD9bAVBbKRWQKeCgg2PQjTl7INoDIAaJ8f/Z65fhSB3uPZ1FlE8pBnNSFF0Lma2HGp1fIFM+jEH+WLbZKrUvYTXYvbfTUMwY41+u6Q+PEEkhqvNslOFTn2TZXwJSk0Eyq/FfhGS4jw5Bs/ngBybVSoB4ypHClo/dJcAVCl2KDx7Pc+GI1ZxNE1D6sJnOS4E6jJJdZYC9s/UQacHvTke+G3dXii9Y9BzEd508irw2DC0s+uJnSGzUm57tWHEbNAn+noZ0dhzLwCl7Jb6Uqe5sZDHK5/CqUcZeE=
on:
tags: true
- provider: script
script: bash docker_push
on:
tags: true

notifications:
slack:
secure: dZRSuoImcjxOKrsMDhVJo2CfbkVwp77P9tlOLmRhbSVBytdcMCPx39pZHKM87PTSAkyep5UnTQfZUiscwMF4UZMNB4pgFL8tnLYX0iM90mMbUFZFhrCX7dsgqT5rdMvulMb/MC55AGrU6BDOoheOAho0xtr5gZtlkfsHBS+FPIlY1NvPse8/4srzt34fMQef9GZYkZDs4xDUvO7dnoBnuiTMGErLdoSn6Qp8C9Q2v0CB4V6w9Tv2Ox8gKhyB5QYXBptprAvUiZ3hRCkNKaByd1GZXbtZNv4GPcsnMSlef4g4EK8ZgPicsXAi6Sxg+UG3mXlTIDZq0XqhJT8GBP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rfyRPpWlsBrluyRKeYgV4KmzB1iYLdHHXEfAdSx7nyhWX5xrBloEmrbABklGorz17axu8WNtaFqwzhLwzFaRdGH51EhEG1vn8Hy//ANus/d1962skHWA9UsM2rQaHRZd4IOq3Fjro3xemhUK5bWiBCgpTo7Jw1Q1TgW4FbM9rg4fvG3oIaS+sD+2qrZdCiljouZS6/RBg/HqXIoQV2zcdeM/dnBNP+wf24S93kVeCFMh4stbVR1T3mQU89Zytf92L2/edJWD9gF6OnXGL+RdnTvB8k9y6/tERHiyLpp57qHX/dhE0pzZqQ309CgHKTXVuvsqXAG3j7Zwyfb2nA0M78+4AUTzaQaKn9m7qRpZ/2y7pLBG+a3NnVg/Vg/UMPVBOFAS9PTbQz+GsF5+0XiwG7/pZhSxMzRGqLMSu70C1J9tBT7MSmzwgGyLUHFvwOrLwU17HGS4VdHtrmZJ5f5OsGdSuwqYp+RSWURjr3w88IdEd1YDyPBS14cnwGsuEwsYxA2/67lZen9drVpui4d/Jqz4qZ57JGmVxYEPbheDUwoxDfOKlFZfCjh6XCrJrOTStH/npQBQCBJ5DmRFoLE6lWZIcG/d7ryLxypyx5xz8LD8lz29dyTCmDxprYf+jjcvj/vBVDKPjqD5+34KHxDg=
3 changes: 3 additions & 0 deletions docker_push
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
echo "$DOCKER_PASS" | docker login -u "$DOCKER_USER" --password-stdin
docker push "$DOCKER_USER"/hmt-escrow
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hmt-escrow",
"version": "0.0.2",
"version": "0.8.1",
"description": "Launch escrow contracts to the HUMAN network",
"main": "truffle.js",
"directories": {
Expand Down

0 comments on commit 95019d5

Please sign in to comment.