diff --git a/.codeclimate.yml b/.codeclimate.yml index 9edc4ddabe..7e2ab05ab5 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -51,9 +51,10 @@ plugins: exclude_patterns: - cli-config.php -- app/cache/ -- app/logs/ +- var/cache/ +- var/logs/ - app/config/ +- config/ - app/SymfonyRequirements.php - app/Migrations/ - app/Resources/ diff --git a/.scrutinizer.yml b/.scrutinizer.yml index a636caf31b..899a20eb29 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -111,8 +111,8 @@ tools: filter: excluded_paths: - 'cli-config.php' - - 'app/cache/*' - - 'app/logs/*' + - 'var/cache/*' + - 'var/logs/*' - 'app/config/*' - 'app/SymfonyRequirements.php' - 'documentation/*' diff --git a/.travis.yml b/.travis.yml index 6fd40e1566..cad30d054c 100755 --- a/.travis.yml +++ b/.travis.yml @@ -87,7 +87,7 @@ before_install: - composer update # Install chamilo - php -d date.timezone="Europe/Paris" $TRAVIS_BUILD_DIR/chash/chash.php chash:chamilo_install $CHAMILO_VERSION $TRAVIS_BUILD_DIR --no-interaction --sitename="Chamilo" --site_url="http://$VHOST_URL/" --institution="Chamilo" --institution_url="https://chamilo.org" --encrypt_method="sha1" --firstname="John" --lastname="Doe" --language="english" --driver="pdo_mysql" --host="localhost" --port="3306" --dbname="chamilo" --dbuser="root" --permissions_for_new_directories="0777" --permissions_for_new_files="0666" --linux-user="www-data" --linux-group="www-data" --username="admin" --password="admin" --email="admin@example.com" --phone="555-5555" - - sudo chmod -R 777 app/cache app/logs app/courses app/upload + - sudo chmod -R 777 var/cache var/logs app/courses app/upload # Check chamilo status - php -d date.timezone="Europe/Paris" $TRAVIS_BUILD_DIR/chash/chash.php chash:chamilo_status - ls -la