This repository has been archived by the owner on Sep 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
50 lines (39 loc) · 1.71 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
language: r
sudo: required
dist: trusty
cache: packages
addons:
apt:
packages:
- oracle-java8-installer
r_github_packages:
- jimhester/covr
env:
matrix:
- SOLR_VERSION=5.4.1
- SOLR_VERSION=6.0.0
- SOLR_VERSION=7.0.0
before_install:
- case "$SOLR_VERSION" in
"") ;;
"5.4.1")
export SOLR_VERSION=5.4.1 ;
mkdir temp && cd temp && wget http://archive.apache.org/dist/lucene/solr/$SOLR_VERSION/solr-$SOLR_VERSION.tgz && tar -zxf solr-$SOLR_VERSION.tgz && cd solr-$SOLR_VERSION && bin/solr start -c -p 8983 && bin/solr create -c gettingstarted -p 8983 && bin/post -c gettingstarted example/exampledocs/*.xml && cd ../../
;;
"6.0.0")
export SOLR_VERSION=6.0.0 ;
mkdir temp && cd temp && wget http://archive.apache.org/dist/lucene/solr/$SOLR_VERSION/solr-$SOLR_VERSION.tgz && tar -zxf solr-$SOLR_VERSION.tgz && cd solr-$SOLR_VERSION && bin/solr start -c -p 8983 && bin/solr create -c gettingstarted -p 8983 && bin/post -c gettingstarted example/exampledocs/*.xml && cd ../../
;;
"7.0.0")
export SOLR_VERSION=7.0.0 ;
mkdir temp && cd temp && wget http://archive.apache.org/dist/lucene/solr/$SOLR_VERSION/solr-$SOLR_VERSION.tgz && tar -zxf solr-$SOLR_VERSION.tgz && cd solr-$SOLR_VERSION && bin/solr start -c -p 8983 && bin/solr create -c gettingstarted -p 8983 && bin/post -c gettingstarted example/exampledocs/*.xml && cd ../../
;;
esac
after_success:
- Rscript -e 'covr::codecov()'
notifications:
email:
on_success: change
on_failure: change
slack:
secure: K0pppSYESNGYdlG3OsjjyJRboEGdcxsl6GxjbHvJE7EsxKTJ5mH506tv6YjeXUcYRJ76D5G1UoKV/sCDC5/Bfz6RpDTAkuzOQyIlAatjuFKSAvx1G+y/PZjaGywb3cBZhYO93oG2TbAehMlXpIAnQcptc3YqhmocJrItnsU9T0M=