Import a database and run tests using shell



Search Results

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'
Get Started with Probo.CI

Want to Try Probo today?
Get Started for free.

Get a free trial with our starter plan or look over some of our more advanced plans and choose the best solution for your company or organization!

GET STARTED FREE