diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/travis/php.ini | 2 | ||||
-rw-r--r-- | tests/travis/travis-ci-apache-hhvm.conf | 25 | ||||
-rw-r--r-- | tests/travis/travis-ci-apache.conf | 19 | ||||
-rw-r--r-- | tests/travis/travis-ci-apache.sh | 18 |
4 files changed, 0 insertions, 64 deletions
diff --git a/tests/travis/php.ini b/tests/travis/php.ini deleted file mode 100644 index 09fc2d51c..000000000 --- a/tests/travis/php.ini +++ /dev/null @@ -1,2 +0,0 @@ -default_charset = "UTF-8" -always_populate_raw_post_data = -1 diff --git a/tests/travis/travis-ci-apache-hhvm.conf b/tests/travis/travis-ci-apache-hhvm.conf deleted file mode 100644 index dbfbfae2c..000000000 --- a/tests/travis/travis-ci-apache-hhvm.conf +++ /dev/null @@ -1,25 +0,0 @@ -<VirtualHost *:80> - - DocumentRoot %TRAVIS_BUILD_DIR% - - <Directory "%TRAVIS_BUILD_DIR%"> - Options FollowSymLinks MultiViews ExecCGI - AllowOverride All - Order deny,allow - Allow from all - </Directory> - - # Configure Apache for HHVM FastCGI. - # See https://github.com/facebook/hhvm/wiki/fastcgi. - <IfModule mod_fastcgi.c> - <FilesMatch \.php$> - SetHandler hhvm-php-extension - </FilesMatch> - - Alias /hhvm /hhvm - Action hhvm-php-extension /hhvm virtual - - FastCgiExternalServer /hhvm -host 127.0.0.1:9000 -pass-header Authorization -idle-timeout 300 - </IfModule> - -</VirtualHost> diff --git a/tests/travis/travis-ci-apache.conf b/tests/travis/travis-ci-apache.conf deleted file mode 100644 index 5cfd3ccd0..000000000 --- a/tests/travis/travis-ci-apache.conf +++ /dev/null @@ -1,19 +0,0 @@ -<VirtualHost *:80> - - DocumentRoot %TRAVIS_BUILD_DIR% - - <Directory "%TRAVIS_BUILD_DIR%"> - Options FollowSymLinks MultiViews ExecCGI - AllowOverride All - Order deny,allow - Allow from all - </Directory> - - <IfModule mod_fastcgi.c> - AddHandler php5-fcgi .php - Action php5-fcgi /php5-fcgi - Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi - FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000 -pass-header Authorization - </IfModule> - -</VirtualHost>
\ No newline at end of file diff --git a/tests/travis/travis-ci-apache.sh b/tests/travis/travis-ci-apache.sh deleted file mode 100644 index 24af96be5..000000000 --- a/tests/travis/travis-ci-apache.sh +++ /dev/null @@ -1,18 +0,0 @@ -# set up php under apache -if [[ $(phpenv version-name) == 'hhvm' ]]; then - sudo a2enmod rewrite actions fastcgi alias - sudo cp -f owncloud/apps/news/tests/travis/travis-ci-apache-hhvm.conf /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 - hhvm -m daemon -vServer.Type=fastcgi -vServer.Port=9000 -vServer.FixPathInfo=true -else - 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 owncloud/apps/news/tests/travis/travis-ci-apache.conf /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 -fi - - |