init-apps.sh 271 Bytes
Newer Older
Carsten Brandt committed
1 2
#!/bin/sh

3
if (php --version | grep -i HipHop > /dev/null); then
Carsten Brandt committed
4 5 6
  echo "skipping application init on HHVM"
else

7
    mysql -e 'CREATE DATABASE yii2_advanced_tests;';
8
    cd apps/advanced/tests/codeception/bin
9
    php yii migrate --interactive=0
10
    cd ../../../../..
Carsten Brandt committed
11
fi