wp2static/run_tests.sh
2017-03-20 18:58:48 +13:00

11 lines
293 B
Bash
Executable file

#!/bin/bash
echo 'what is running now?'
docker ps
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