Cleanup of travis config and some internal logs

This commit is contained in:
apanizo 2018-08-09 13:45:38 +02:00
parent b4664d8b35
commit c5f8dc94d4
2 changed files with 3 additions and 6 deletions

View File

@ -10,16 +10,16 @@ os:
env:
- DOCKER_COMPOSE_VERSION=1.22.0
before_install:
# Install custom docker-compose version
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
# Shut down postgres because it blocks our db container's port map to :5432
# it comes enabled by default in docker-compose
- sudo service postgresql stop
# Wait for it to stop
- while sudo lsof -Pi :5432 -sTCP:LISTEN -t; do sleep 1; done
- docker-compose --version
- docker ps
# Needed to deploy pull request and releases
- sudo apt-get -y install python-pip python-dev
- pip install awscli --upgrade --user
@ -29,11 +29,9 @@ before_script:
- git clone https://github.com/gnosis/safe-transaction-history.git
- cd safe-transaction-history
- git checkout develop
- git log
- docker-compose --version
- docker-compose build
- docker ps
- docker-compose up -d
# Give some time to docker to enable all services
- sleep 15
- cd ..
after_success:

View File

@ -63,7 +63,6 @@ export const submitOperation = async (
headers,
body,
})
console.log(response)
if (response.status !== 202) {
return Promise.reject(new Error('Error submitting the transaction'))