forked from ropensci/elastic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
es_matrix_travis.yml
49 lines (39 loc) · 1.63 KB
/
es_matrix_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
43
44
45
46
47
48
49
language: r
env:
matrix:
- ES_VERSION=1.0.0
- ES_VERSION=1.4.0
- ES_VERSION=1.7.2
- ES_VERSION=2.0.0
before_install:
- case "$ES_VERSION" in
"") ;;
"1.0.0")
export ES_VERSION=1.0.0 ;
curl -O https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$ES_VERSION.deb && sudo dpkg -i --force-confnew elasticsearch-$ES_VERSION.deb && sudo service elasticsearch start
;;
"1.4.0")
export ES_VERSION=1.4.0 ;
curl -O https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$ES_VERSION.deb && sudo dpkg -i --force-confnew elasticsearch-$ES_VERSION.deb && sudo service elasticsearch start
;;
"1.7.2")
export ES_VERSION=1.7.2 ;
curl -O https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$ES_VERSION.deb && sudo dpkg -i --force-confnew elasticsearch-$ES_VERSION.deb && sudo service elasticsearch start
;;
"2.0.0")
export ES_VERSION=2.0.0 ;
curl -O https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/$ES_VERSION/elasticsearch-$ES_VERSION.deb && sudo dpkg -i --force-confnew elasticsearch-$ES_VERSION.deb && sudo service elasticsearch start
;;
esac
- sleep 3
- sudo service elasticsearch status
r_github_packages:
- jimhester/covr
after_success:
- Rscript -e 'covr::codecov()'
notifications:
email:
on_success: change
on_failure: change
slack:
secure: TyJn718GQw/lQE0v9QzTRMU2aXppaw65oyfUxfDa7KYjsgfqY0Hq+H3I71bUxBlnUNnW5Hsxm+b+YiaNDEZ2UmJJLr4X34r5mRRABy94nTs7YYLIE2ugtXb1BQArxaFo1HNBm1xNg+CCLWdvfQ6wR7PhT08CuGwwejAr97y5xTQ=