File tree 2 files changed +8
-14
lines changed
2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 1
1
sudo : required
2
2
language : php
3
3
php :
4
+ - 5.6
4
5
- 7.0
5
6
- hhvm
6
7
env :
7
8
global :
8
- - ES_VERSION="5.0.0"
9
- - SYMFONY="~3.0"
9
+ - ES_VERSION="5.0" JAVA_HOME="/usr/lib/jvm/java-8-oracle/jre"
10
10
matrix :
11
11
allow_failures :
12
12
- php : hhvm
13
- include :
14
- - php : 7.0
15
- env : SYMFONY="2.8.*"
16
- addons :
17
- apt :
18
- packages :
19
- - oracle-java8-installer
20
13
install :
14
+ # Container based PHP image ues PHP 5.6.5, once it will be upgraded sudo will be not necessary
21
15
- sudo apt-get install -y oracle-java8-set-default
22
- - composer require --no-update symfony/symfony:${SYMFONY}
23
- - wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.deb
24
- - sudo dpkg -i elasticsearch-${ES_VERSION}.deb
25
- - sudo service elasticsearch restart
16
+ - ES_URL=$(curl -sS "https://esvm-props.kibana.rocks/builds" | jq -r ".branches[\"$ES_VERSION\"].zip")
17
+ - curl -L -o elasticsearch.zip $ES_URL
18
+ - unzip elasticsearch.zip
19
+ - ./ elasticsearch-*/bin/elasticsearch -d
26
20
before_script :
27
21
- composer config -g github-oauth.github.com $GITHUB_COMPOSER_AUTH
28
22
- composer install --no-interaction --prefer-dist
Original file line number Diff line number Diff line change 11
11
}
12
12
],
13
13
"require" : {
14
- "php" : " >= 7.0" ,
14
+ "php" : " ^5.6.6|^ 7.0" ,
15
15
"symfony/symfony" : " ~2.8|~3.0" ,
16
16
"ongr/elasticsearch-bundle" : " ~2.0"
17
17
},
You can’t perform that action at this time.
0 commit comments