forked from jeroenherczeg/solarium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (38 loc) · 1.13 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
dist: trusty
php:
- 7.2
- 7.1
- 7.0
- nightly
env:
- SYMFONY_VERSION=2.7.* SOLR_VERSION=6.6.5
- SYMFONY_VERSION=3.3.* SOLR_VERSION=6.6.5
- SYMFONY_VERSION=4.0.* SOLR_VERSION=6.6.5
- SYMFONY_VERSION=4.0.* SOLR_VERSION=7.4.0
cache:
directories:
- $HOME/.composer/cache
- solr_downloads
before_install:
- composer global require "hirak/prestissimo:^0.3"
- ls solr_downloads/
- wget -nc --continue -v --tries=3 --directory-prefix=solr_downloads "http://ftp.halifax.rwth-aachen.de/apache/lucene/solr/${SOLR_VERSION}/solr-${SOLR_VERSION}.tgz"
- tar -xzf solr_downloads/solr-${SOLR_VERSION}.tgz
before_script:
# - pecl install pecl_http
- composer require --prefer-source --dev symfony/event-dispatcher:${SYMFONY_VERSION}
- solr-${SOLR_VERSION}/bin/solr start -e techproducts
script:
- vendor/bin/phpunit -c phpunit.xml.travis -v
after_success:
- travis_retry php vendor/bin/coveralls -v
matrix:
exclude:
- php: 7.0
env: SYMFONY_VERSION=4.0.* SOLR_VERSION=6.6.5
- php: 7.0
env: SYMFONY_VERSION=4.0.* SOLR_VERSION=7.4.0
allow_failures:
- php: nightly
sudo: false