add redis

This commit is contained in:
nitram 2019-02-27 17:27:27 -08:00
parent ce5b8a6dae
commit c94451c680
No known key found for this signature in database
GPG key ID: 2352C35346C5D534

View file

@ -24,11 +24,10 @@ build:
- master@satellite/ionosphere
before_script:
- export CHARGE_ROOT=$CHARGE_ROOT_CI
- export REDIS_URI=$REDIS_URI_CI
script:
- bundle exec rake db:create
- bundle exec rake db:schema:load
- bundle exec rake db:migrate
- bundle exec ruby tests/tests.rb || echo "Tests failed.."
- bundle exec rake db:create && bundle exec rake db:schema:load && bundle exec rake db:migrate
- bundle exec ruby tests/tests.rb || echo "Tests failed.." && exit 1
- echo $DOCKERHUB_PW | docker login -u $DOCKERHUB_USER --password-stdin
- docker pull blockstream/satellite-api:latest
- docker pull blockstream/satellite-api-sse:latest