mirror of
https://github.com/e107inc/e107.git
synced 2025-08-15 02:57:15 +02:00
Preparation for merge with e107 repository
Moved all test files to e107_tests subdirectory
This commit is contained in:
10
e107_tests/lib/ci/config.ci.yml
Normal file
10
e107_tests/lib/ci/config.ci.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
deployer: 'local'
|
||||
url: 'http://set-this-to-your-acceptance-test-url.local/'
|
||||
db:
|
||||
host: 'mysql'
|
||||
dbname: 'app'
|
||||
user: 'root'
|
||||
password: 'Database Password for Continuous Integration'
|
||||
populate: true
|
||||
dump_path: 'tests/_data/e107_v2.1.9.sample.sql'
|
21
e107_tests/lib/ci/setup.sh
Executable file
21
e107_tests/lib/ci/setup.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
apt-get update
|
||||
apt-get install -y git zip libzip-dev
|
||||
|
||||
pecl install zip
|
||||
docker-php-ext-enable zip
|
||||
pecl install xdebug
|
||||
docker-php-ext-enable xdebug
|
||||
docker-php-ext-install pdo_mysql
|
||||
|
||||
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
||||
php composer-setup.php
|
||||
php -r "unlink('composer-setup.php');"
|
||||
|
||||
php composer.phar install
|
||||
php composer.phar update
|
||||
|
||||
git submodule update --init --recursive --remote
|
||||
|
||||
cp ./lib/ci/config.ci.yml ./config.yml
|
Reference in New Issue
Block a user