File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 1
- sudo : false
1
+ sudo : true
2
2
language : php
3
3
php :
4
- - 5.5
5
4
- 5.6
6
5
- 7.0
7
6
- hhvm
8
7
env :
9
8
global :
10
- - ES_VERSION="2.1.1"
9
+ - JAVA_HOME="/usr/lib/jvm/java-8-oracle/jre"
10
+ - ES_URL="https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.1.2.zip"
11
11
matrix :
12
12
allow_failures :
13
13
- php : hhvm
14
+ addons :
15
+ apt :
16
+ packages :
17
+ - oracle-java8-installer
14
18
install :
15
- - wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
16
- - tar -xzf elasticsearch-${ES_VERSION}.tar.gz
17
- - ./elasticsearch-${ES_VERSION}/bin/elasticsearch > /dev/null 2>&1 &
19
+ - sudo apt-get install -y oracle-java8-set-default
20
+ - curl -L -o elasticsearch.zip $ES_URL
21
+ - unzip elasticsearch.zip
22
+ - ./elasticsearch-*/bin/elasticsearch -d
18
23
before_script :
19
24
- composer config -g github-oauth.github.com $GITHUB_COMPOSER_AUTH
20
25
- composer install --no-interaction --prefer-dist
You can’t perform that action at this time.
0 commit comments