Travis: Fix tests

pull/3178/head
Julio Montoya 6 years ago
parent 75a5d6bc12
commit fbd3fcb121
  1. 3
      .travis.yml
  2. 6
      tests/travis/post_installation.sh

@ -91,8 +91,7 @@ before_install:
# Permissions
- sudo chown -R www-data:www-data $TRAVIS_BUILD_DIR
- sudo chown -R 775 $TRAVIS_BUILD_DIR
- sudo echo "\$_configuration[\"disable_send_mail\"] = true;" >> app/config/configuration.php
- sudo cat app/config/configuration.php
- bash tests/travis/post_installation.sh
- sudo chmod +x /home/travis/build
- sudo service apache2 restart
# Check the result of index.php and check if main.js is build in travis

@ -0,0 +1,6 @@
#!/bin/bash
echo "* post_installation.sh ...";
sudo echo "\$_configuration[\"disable_send_mail\"] = true;" >> app/config/configuration.php
sudo cat app/config/configuration.php
Loading…
Cancel
Save