-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (31 loc) · 912 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
34
35
36
37
38
39
language: php
sudo: true
php:
# - 7.0
- 7.1
- 7.2
env:
global:
- SOLR_VERSION=7.5.0
matrix:
- USE_LARAVEL_VERSION=5.5.0
- USE_LARAVEL_VERSION=5.6.0
- USE_LARAVEL_VERSION=5.7.0
cache:
directories:
- $HOME/.composer/cache
- solr_downloads
before_install:
- composer global require "hirak/prestissimo"
- 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:
- composer require --prefer-dist --dev "illuminate/bus:~${USE_LARAVEL_VERSION}"
# - solr-${SOLR_VERSION}/bin/solr start
# - solr-${SOLR_VERSION}/bin/solr create -c products
# - ./bin/solr delete -c flms
script:
- ./vendor/bin/phpunit --coverage-text
notifications:
email: false