From 6f199e0c0adf825d905147de54ae801bd51c588b Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Fri, 16 May 2014 15:51:41 +0200 Subject: [PATCH] apache here we go --- .travis.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8c34f53dc..e2c7fd3aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,15 +29,13 @@ before_script: - mysql -e 'create database oc_autotest;' - mysql -u root -e "CREATE USER 'oc_autotest'@'localhost'"; - mysql -u root -e "grant all on oc_autotest.* to 'oc_autotest'@'localhost'"; - # FIXME: apache setup needs to work that the directory above is served from - # httpd - #- sudo cp ~/.phpenv/versions/$(phpenv version-name)/etc/php-fpm.conf.default ~/.phpenv/versions/$(phpenv version-name)/etc/php-fpm.conf - #- sudo a2enmod rewrite actions fastcgi alias - #- echo "cgi.fix_pathinfo = 1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - #- ~/.phpenv/versions/$(phpenv version-name)/sbin/php-fpm - #- sudo cp -f tests/travis/travis-ci-apache /etc/apache2/sites-available/default - #- sudo sed -e "s?%TRAVIS_BUILD_DIR%?$(pwd)?g" --in-place /etc/apache2/sites-available/default - #- sudo service apache2 restart + - sudo cp ~/.phpenv/versions/$(phpenv version-name)/etc/php-fpm.conf.default ~/.phpenv/versions/$(phpenv version-name)/etc/php-fpm.conf + - sudo a2enmod rewrite actions fastcgi alias + - echo "cgi.fix_pathinfo = 1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini + - ~/.phpenv/versions/$(phpenv version-name)/sbin/php-fpm + - sudo cp -f tests/travis/travis-ci-apache /etc/apache2/sites-available/default + - sudo sed -e "s?%TRAVIS_BUILD_DIR%?$(pwd)?g" --in-place /etc/apache2/sites-available/default + - sudo service apache2 restart - cd owncloud - ocdev ci $DB - php -f console.php app:enable news