wp2static/run_tests.sh

10 lines
255 B
Bash
Raw Normal View History

#!/bin/bash
containerID=$(sudo docker ps | grep plugindevwp | grep -o -e '^\S*')
containerIP=$( sudo docker inspect --format="{{ .NetworkSettings.IPAddress }}" $containerID)
gem install bundler
bundle install
bundle exec ruby run_tests.rb $containerIP