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

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