]> git.openstreetmap.org Git - nominatim.git/blobdiff - vagrant/install-on-travis-ci.sh
set directoryindex in Apache,nginx configuration
[nominatim.git] / vagrant / install-on-travis-ci.sh
index 0bbf1cd44564ef82888285791855e1bae7d9def6..693be306e90b3292ca3bb61c573fce4402d258f3 100755 (executable)
@@ -24,9 +24,10 @@ sudo apt-get install -y -qq libboost-dev libboost-system-dev \
 
 sudo apt-get install -y -qq python-Levenshtein python-shapely \
                         python-psycopg2 tidy python-nose python-tidylib \
-                        phpunit
+                        python-numpy phpunit
 
 sudo -H pip install --quiet 'setuptools>=23.0.0' lettuce==0.2.18 'six>=1.9' haversine
+sudo pear install PHP_CodeSniffer
 
 sudo service postgresql restart
 sudo -u postgres createuser -S www-data
@@ -40,6 +41,7 @@ sudo tee /etc/apache2/conf-available/nominatim.conf << EOFAPACHECONF > /dev/null
     <Directory "$TRAVIS_BUILD_DIR/build/website">
       Options FollowSymLinks MultiViews
       AddType text/html   .php
+      DirectoryIndex search.php
       Require all granted
     </Directory>