%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.26 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/var/www/html/ppaobm/vendor/codeception/base/ |
Upload File : |
box: hhvm/hhvm-proxygen:3.18-lts-latest
# Build definition
build:
# The steps that will be executed on build
steps:
- script:
name: disable interactive install
code: |
export DEBIAN_FRONTEND=noninteractive
- install-packages:
packages: curl git mysql-server redis-server postgresql
- script:
name: start database servers
code: |
/etc/init.d/mysql start
/etc/init.d/redis-server start
sed -i "s/ peer/ trust/g" /etc/postgresql/*/main/pg_hba.conf
sed -i "s/ md5/ trust/g" /etc/postgresql/*/main/pg_hba.conf
/etc/init.d/postgresql start
- script:
name: install composer
code: |
rm -f composer.lock
export COMPOSER_CACHE_DIR=$WERCKER_CACHE_DIR
curl -sS https://getcomposer.org/installer | hhvm --php -- --install-dir=/usr/local/bin/
composer.phar remove mongodb/mongodb --no-update --dev
composer.phar install
echo "xdebug.enable = On" >> /etc/hhvm/php.ini
- script:
name: setup HHVM servers
code: |
echo ${WERCKER_ROOT}/tests/data/app
echo "hhvm.server.source_root=${WERCKER_ROOT}/tests/data/app" >> tests/data/app/hhvm-server.ini
cat tests/data/app/hhvm-server.ini
hhvm -m server -c tests/data/app/hhvm-server.ini -c /etc/hhvm/site.ini &
echo "hhvm.server.source_root=${WERCKER_ROOT}/tests/data/rest" >> tests/data/rest/hhvm-server.ini
hhvm -m server -c tests/data/rest/hhvm-server.ini -c /etc/hhvm/site.ini &
- script:
name: prepare databases
code: |
mysql -e 'create database codeception_test;'
su postgres -c "psql -c 'create database codeception_test;' -U postgres"
# A custom script step, name value is used in the UI
# and the code value contains the command that get executed
- script:
name: codeception CLI tests
code: |
php codecept run cli RunCest
- script:
name: codeception unit tests
code: |
php codecept run unit