Minor - Trial and error to get behat tests to run on travis-ci

1.10.x
Yannick Warnier 10 years ago
parent d39225e9d9
commit febc547a57
  1. 3
      .travis.yml
  2. 4
      tests/travis-apache

@ -41,7 +41,6 @@ before_script:
# install Chamilo with Chash - see reference https://github.com/sonnym/travis-ci-drupal-module-example/blob/master/.travis.yml
- sudo chash chash:chamilo_install --no-interaction --sitename="Chamilo" --site_url="http://localhost/" --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="chamilo" --dbpassword="chamilo" --permissions_for_new_directories="0777" --permissions_for_new_files="0666" --username="admin" --password="admin" --email="admin@example.com" --phone="555-5555" 1.10.x $(pwd)
script:
- phpunit -c tests/phpunit
# - phpunit -c tests/phpunit
- cd tests && ../vendor/behat/behat/bin/behat -v

@ -1,9 +1,9 @@
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName localhost
DocumentRoot %TRAVIS_BUILD_DIR%
DocumentRoot %TRAVIS_BUILD_DIR%/chamilo/chamilo-lms
<Directory "%TRAVIS_BUILD_DIR%">
<Directory "%TRAVIS_BUILD_DIR%/chamilo/chamilo-lms">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny

Loading…
Cancel
Save