This commit is contained in:
Bernhard Posselt 2014-05-16 15:51:41 +02:00
Родитель b12b653f40
Коммит 6f199e0c0a
1 изменённых файлов: 7 добавлений и 9 удалений

Просмотреть файл

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