forked from K-Phoen/rulerz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (30 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
language: php
sudo: required
cache:
directories:
- $HOME/.composer/cache
addons:
postgresql: "9.4"
services:
- postgresql
branches:
only:
- master
php:
- 7.1
- 7.2
matrix:
fast_finish: true
before_install:
- phpenv config-rm xdebug.ini || true
# setup elasticsearch
- curl -O https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/2.3.0/elasticsearch-2.3.0.deb && sudo dpkg -i --force-confnew elasticsearch-2.3.0.deb && sudo service elasticsearch restart
# setup solr
- curl -sSL https://raw.githubusercontent.com/moliware/travis-solr/master/travis-solr.sh | SOLR_VERSION=5.3.1 SOLR_CORE=rulerz_tests SOLR_CONFS="./scripts/solr/config/conf/schema.xml ./scripts/solr/config/conf/solrconfig.xml" bash
- mkdir -p ./solr-5.3.1/example/multicore/rulerz_tests/conf && cp -r ./scripts/solr/config/conf/* ./solr-5.3.1/example/multicore/rulerz_tests/conf
install:
- composer install --optimize-autoloader --no-interaction
script:
- make databases
- make tests
- make rusty