forked from Sylius/SyliusElasticSearchPlugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
41 lines (32 loc) · 1.18 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
language: php
php:
- 7.1
jdk:
- oraclejdk8
addons:
apt:
sources:
- elasticsearch-5.x
packages:
- elasticsearch
- oracle-java8-set-default
services:
- elasticsearch
cache:
directories:
- vendor
before_install:
- phpenv config-rm xdebug.ini || true
- echo "memory_limit=4096M" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- composer self-update
- composer validate
install:
- composer update --prefer-dist
- tests/Application/bin/console doctrine:schema:create --env=test -vvv --no-interaction
- tests/Application/bin/console ongr:es:index:create -vvv --no-interaction
script:
- bin/phpspec run --no-interaction
- bin/phpunit
- tests/Application/bin/console sylius:elastic-search:update-product-index --env=test -vvv && tests/Application/bin/console sylius:elastic-search:update-product-index --env=test -vvv
- tests/Application/bin/console sylius:elastic-search:reset-product-index --env=test --force -vvv && tests/Application/bin/console sylius:elastic-search:reset-product-index --env=test --force -vvv
#- bin/behat --strict -vvv --no-interaction