forked from FoolCode/SphinxQL-Query-Builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (27 loc) · 779 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
env:
- DRIVER=mysqli SPHINXSEARCH_VER=trunk
- DRIVER=mysqli SPHINXSEARCH_VER=branches/rel22
- DRIVER=pdo SPHINXSEARCH_VER=trunk
- DRIVER=pdo SPHINXSEARCH_VER=branches/rel22
matrix:
allow_failures:
- env: DRIVER=pdo SPHINXSEARCH_VER=trunk
- env: DRIVER=pdo SPHINXSEARCH_VER=branches/rel22
before_install:
- svn checkout http://sphinxsearch.googlecode.com/svn/${SPHINXSEARCH_VER}/ sphinxsearch
- cd sphinxsearch
- ./configure --prefix=/usr/local/sphinx
- sudo make && sudo make install
- cd ..
before_script:
- composer install --dev
- cd tests
- /usr/local/sphinx/bin/searchd -c sphinx.conf
script: ../vendor/bin/phpunit --configuration travis/$DRIVER.phpunit.xml --coverage-text