From d11285513167c960533bb9a6f672c10169af6ac6 Mon Sep 17 00:00:00 2001 From: jmontoyaa Date: Thu, 4 Jan 2018 10:40:41 +0100 Subject: [PATCH] Update CI files --- .codeclimate.yml | 2 +- .gitignore | 4 ++-- .scrutinizer.yml | 2 +- .travis.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.codeclimate.yml b/.codeclimate.yml index 7e2ab05ab5..9b213af794 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -52,7 +52,7 @@ plugins: exclude_patterns: - cli-config.php - var/cache/ -- var/logs/ +- var/log/ - app/config/ - config/ - app/SymfonyRequirements.php diff --git a/.gitignore b/.gitignore index bc06e7e6b9..88c64c783a 100755 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,8 @@ var/cache/* !var/cache/.gitkeep -var/logs/* -!var/logs/.gitkeep +var/log/* +!var/log/.gitkeep # Chamilo configuration /app/config/parameters.yml diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 899a20eb29..5576956426 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -112,7 +112,7 @@ filter: excluded_paths: - 'cli-config.php' - 'var/cache/*' - - 'var/logs/*' + - 'var/log/*' - 'app/config/*' - 'app/SymfonyRequirements.php' - 'documentation/*' diff --git a/.travis.yml b/.travis.yml index 64a5589d22..5c51a13e39 100755 --- a/.travis.yml +++ b/.travis.yml @@ -83,7 +83,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 var/cache var/logs app/courses app/upload + - sudo chmod -R 777 var/cache var/log app/courses app/upload # Check chamilo status - php -d date.timezone="Europe/Paris" $TRAVIS_BUILD_DIR/chash/chash.php chash:chamilo_status - ls -la