forked from FoolCode/SphinxQL-Query-Builder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
42 lines (34 loc) · 1.1 KB
/
.travis.yml
File metadata and controls
42 lines (34 loc) · 1.1 KB
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
34
35
36
37
38
39
40
41
42
dist: bionic
language: php
php:
- 7.4
- 8.0
- 8.1.0
env:
- DRIVER=mysqli SEARCH_BUILD=SPHINX2 EXCLUDE_GROUP="--exclude-group=Manticore"
- DRIVER=mysqli SEARCH_BUILD=SPHINX3 EXCLUDE_GROUP="--exclude-group=Manticore"
- DRIVER=mysqli SEARCH_BUILD=MANTICORE
- DRIVER=pdo SEARCH_BUILD=SPHINX2 EXCLUDE_GROUP="--exclude-group=Manticore"
- DRIVER=pdo SEARCH_BUILD=SPHINX3 EXCLUDE_GROUP="--exclude-group=Manticore"
- DRIVER=pdo SEARCH_BUILD=MANTICORE
matrix:
fast_finish: true
allow_failures:
- env: DRIVER=mysqli SEARCH_BUILD=SPHINX3 EXCLUDE_GROUP="--exclude-group=Manticore"
- env: DRIVER=pdo SEARCH_BUILD=SPHINX3 EXCLUDE_GROUP="--exclude-group=Manticore"
addons:
apt:
packages:
- libodbc1 # needed for SPHINX2
before_install:
- mkdir $HOME/search
- pushd $HOME/search
- $TRAVIS_BUILD_DIR/tests/install.sh
- popd
install: composer update --prefer-dist --no-interaction
before_script:
- composer dump-autoload
- cd tests
- $TRAVIS_BUILD_DIR/tests/run.sh
- cd ..
script: ./vendor/bin/phpunit --configuration tests/travis/$DRIVER.phpunit.xml --coverage-text $EXCLUDE_GROUP