This repository has been archived by the owner on May 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
61 lines (49 loc) · 2.27 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
language: r
env:
matrix:
- ES_VERSION=1.0.0
- ES_VERSION=1.4.0
- ES_VERSION=1.7.2
- ES_VERSION=2.0.0
- ES_VERSION=2.1.0
- ES_VERSION=2.2.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
;;
"2.1.0")
export ES_VERSION=2.1.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
;;
"2.2.0")
export ES_VERSION=2.2.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_packages:
- covr
after_success:
- Rscript -e 'covr::codecov()'
notifications:
email:
on_success: change
on_failure: change
slack:
secure: VyKTVdItGrHvy5UbEPgjw1dgbZAiavwQgO0pPU2DuQdxVT+FN3cfjUvWAx46YLqv2NqMMG5/wnfgAUhBcMcyOcGjKT/XojGP+4LC6o4VhvSMgcRQ5Bj1eW4qsLfOV6UcuhPGpMiOTUG3/yhRNUbhkrFDl75pnuZs72cxmp3JjoM=