PHP Classes

File: libraries/vendor/phpunit/dbunit/build/travis-ci.sh

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   PHP Slim Framework 3 Modular Application   libraries/vendor/phpunit/dbunit/build/travis-ci.sh   Download  
File: libraries/vendor/phpunit/dbunit/build/travis-ci.sh
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Slim Framework 3 Modular Application
Create modular applications using Slim Framework
Author: By
Last change:
Date: 6 years ago
Size: 625 bytes
 

Contents

Class file image Download
#!/bin/bash COMPOSER="/usr/local/bin/composer" COMPOSER_PATH=$(dirname ${COMPOSER}) MYSQL_USER="root" MYSQL_DATABASE="phpunit_tests" if [ ! -x "${COMPOSER}" ]; then echo "Installing Composer" curl -sS https://getcomposer.org/installer | sudo php -d apc.enable_cli=0 -- --install-dir=${COMPOSER_PATH} --filename=$(basename ${COMPOSER}) else echo "Updating Composer" sudo ${COMPOSER} self-update fi ${COMPOSER} install --no-interaction --prefer-source --dev mysql -u ${MYSQL_USER} -e "CREATE DATABASE IF NOT EXISTS $MYSQL_DATABASE;" sed -i 's/<!--//g' build/phpunit.xml sed -i 's/-->//g' build/phpunit.xml