зеркало из https://github.com/nextcloud/news.git
apache here we go
This commit is contained in:
Родитель
b12b653f40
Коммит
6f199e0c0a
16
.travis.yml
16
.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
|
||||
|
|
Загрузка…
Ссылка в новой задаче