[SearchEngine] Add SphinxSearch directories

This commit is contained in:
Romain Neutron
2012-10-23 10:53:32 +02:00
parent 96052ddf31
commit a32960a1c8

View File

@@ -14,6 +14,8 @@ before_script:
- wget http://sphinxsearch.com/files/sphinx-2.0.5-release.tar.gz
- tar xzf sphinx-2.0.5-release.tar.gz
- sh -c "cd sphinx-2.0.5-release && wget http://snowball.tartarus.org/dist/libstemmer_c.tgz && tar xzf libstemmer_c.tgz && ./configure --with-libstemmer --with-iconv --with-mysql --enable-id64 --quiet && make --quiet && sudo make install"
- sudo mkdir -p /var/sphinx/datas
- sudo chmod 0777 /var/sphinx
- mysql -e 'create database ab_test;create database db_test; create database ab_unitTests; create database db_unitTests;'
- sudo mysql -e "GRANT ALL PRIVILEGES ON ab_unitTests.* TO 'phraseaUnitTests'@'localhost' IDENTIFIED BY 'iWvGxPE8' WITH GRANT OPTION"
- sudo mysql -e "GRANT ALL PRIVILEGES ON db_unitTests.* TO 'phraseaUnitTests'@'localhost' IDENTIFIED BY 'iWvGxPE8' WITH GRANT OPTION"