forked from massiveart/MassiveSearchBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (41 loc) · 1.08 KB
/
.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
language: php
sudo: false
env:
global:
- ES_VERSION="2.4.4"
- ES_DOWNLOAD_URL="https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/zip/elasticsearch/${ES_VERSION}/elasticsearch-${ES_VERSION}.zip"
matrix:
include:
- php: 5.5
env:
- PREFER="--prefer-lowest"
- SYMFONY_DEPRECATIONS_HELPER=weak
- php: 5.5
env:
- PREFER=""
- SYMFONY_DEPRECATIONS_HELPER=weak
- php: 5.6
env:
- PREFER=""
- SYMFONY_DEPRECATIONS_HELPER=weak
- php: 7.0
env:
- PREFER=""
- SYMFONY_DEPRECATIONS_HELPER=weak
before_install:
- curl -L -o elasticsearch.zip ${ES_DOWNLOAD_URL}
- ls -lah
- unzip elasticsearch.zip
- elasticsearch-*/bin/elasticsearch -d
- phpenv config-add Tests/travis.php.ini
- composer self-update
before_script:
- composer selfupdate
- composer update $PREFER
script:
- vendor/bin/phpunit --coverage-text
- vendor/bin/behat --suite=zend_lucene
- vendor/bin/behat --suite=elastic
cache:
directories:
- $HOME/.composer/cache