forked from pelias/schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (38 loc) · 922 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
sudo: false
language: node_js
notifications:
email: false
node_js:
- 4
- 6
matrix:
fast_finish: true
env:
global:
- BUILD_LEADER_ID=2
matrix:
- ES_VERSION=2.3.4
jdk:
- oraclejdk8
install:
- mkdir /tmp/elasticsearch
- wget -O - https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/${ES_VERSION}/elasticsearch-${ES_VERSION}.tar.gz | tar xz --directory=/tmp/elasticsearch --strip-components=1
- /tmp/elasticsearch/bin/plugin install analysis-icu
- /tmp/elasticsearch/bin/elasticsearch --daemonize --path.data /tmp
- npm i
script:
- npm run travis
addons:
apt:
packages:
- oracle-java8-installer
before_install:
- npm i -g npm@^3.0.0
before_script:
- npm prune
- sleep 10
- curl http://127.0.0.1:9200/
- node scripts/create_index.js -y
after_success:
- npm install -g npx
- npx -p node@8 npm run semantic-release