
The Shell plugin provides the command parameter. This allows you to define bash commands to run during the site build. You can list as many commands as you like within the steps in your .probo.yaml file.
You will need to include a name for each command since you can only declare a given parameter once per step. The Script plugin is available for multi-line commands.
Using the Shell plugin
1 2 3 4 5 6 | steps: - name: Run behat tests plugin: Shell command: 'cd tests ; composer install ; bin/behat' - name: Another example test with default Shell plugin command: 'echo "Hello World!"' |
Developing on a site with a database and tests
1 2 3 4 5 6 7 8 9 10 | assets: - dev.sql.gz steps: - name: Import the database plugin: Shell command: 'gunzip -c $ASSET_DIR/dev.sql.gz | `mysql foo` ; rm $ASSET_DIR/dev.sql.gz' - name: Move code in place command: 'mv $SRC_DIR /var/www/foo/code' - name: Run behat tests command: 'cd /var/www/foo/code/tests ; composer install ; bin/behat' |

When you sign up for a Probo.CI registration code, you will get a two week trial of the plan of your choosing. For more information on how to get started, click here .
LEARN MORE ABOUT PROBO.CI'S PRICING