mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 22:28:51 +01:00
16 lines
477 B
Bash
Executable File
16 lines
477 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
# -e = exit when one command returns != 0, -v print each command before executing
|
|
set -ev
|
|
|
|
composer install --prefer-dist --no-interaction
|
|
|
|
npm install
|
|
grunt build-assets
|
|
|
|
cd ${TRAVIS_BUILD_DIR}/protected/humhub/tests
|
|
|
|
mysql -e 'CREATE DATABASE humhub_test CHARACTER SET utf8 COLLATE utf8_general_ci;'
|
|
php codeception/bin/yii migrate/up --includeModuleMigrations=1 --interactive=0
|
|
php codeception/bin/yii installer/auto
|
|
php codeception/bin/yii search/rebuild |