Update CI files

pull/2487/head
jmontoyaa 7 years ago
parent 5279997fc5
commit d112855131
  1. 2
      .codeclimate.yml
  2. 4
      .gitignore
  3. 2
      .scrutinizer.yml
  4. 2
      .travis.yml

@ -52,7 +52,7 @@ plugins:
exclude_patterns:
- cli-config.php
- var/cache/
- var/logs/
- var/log/
- app/config/
- config/
- app/SymfonyRequirements.php

4
.gitignore vendored

@ -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

@ -112,7 +112,7 @@ filter:
excluded_paths:
- 'cli-config.php'
- 'var/cache/*'
- 'var/logs/*'
- 'var/log/*'
- 'app/config/*'
- 'app/SymfonyRequirements.php'
- 'documentation/*'

@ -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

Loading…
Cancel
Save