-
diosmosis a rédigé
Speeding up tests on travis by adding persist_fixture_data config option and modified screenshot capture script to automatically wait after sending each event. Notes: - Modify DbHelper::createAnonymousUser to add only if user does not already exist. - Allow config to be overridden by file in tmp dir during tests.
diosmosis a rédigéSpeeding up tests on travis by adding persist_fixture_data config option and modified screenshot capture script to automatically wait after sending each event. Notes: - Modify DbHelper::createAnonymousUser to add only if user does not already exist. - Allow config to be overridden by file in tmp dir during tests.
config.ini.travis.php 500 o
; <?php exit; ?> DO NOT REMOVE THIS LINE
; This configuration is used for automatic integration
; tests on Travis-CI. Do not use this in production.
[database]
host = localhost
username = root
password =
dbname = piwik_tests
adapter = PDO_MYSQL
tables_prefix = piwiktests_
;charset = utf8
[database_tests]
host = localhost
username = root
password =
dbname = piwik_tests
adapter = PDO_MYSQL
tables_prefix = piwiktests_
[log]
log_writers[] = file
log_level = debug
[Tests]
persist_fixture_data = 1