wp2static/run_tests.sh

12 lines
293 B
Bash
Raw Normal View History

2017-03-20 18:21:26 +13:00
#!/bin/bash
2017-03-20 18:58:48 +13:00
echo 'what is running now?'
docker ps
2017-03-20 18:21:26 +13:00
containerID=$(sudo docker ps | grep plugindevwp | grep -o -e '^\S*')
containerIP=$( sudo docker inspect --format="{{ .NetworkSettings.IPAddress }}" $containerID)
2017-03-20 18:52:52 +13:00
gem install bundler
bundle install
bundle exec ruby run_tests.rb $containerIP