forked from sparklyr/sparklyr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (31 loc) · 805 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
39
40
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: r
sudo: false
cache:
packages: true
warnings_are_errors: true
jdk:
- oraclejdk8
r_packages:
- covr
env:
- SPARK_VERSION="1.6.3"
- SPARK_VERSION="2.2.1"
- SPARK_VERSION="2.3.0"
script:
- |
R CMD build .
export SPARKLYR_LOG_FILE=/tmp/sparklyr.log
if [[ $SPARK_VERSION == "2.3.0" ]]; then
R CMD check --no-build-vignettes --no-manual --no-tests sparklyr*tar.gz
travis_wait 35 Rscript .travis.R --coverage
else
travis_wait 30 R CMD check --no-build-vignettes --no-manual sparklyr*tar.gz
fi
after_failure:
- |
grep -B 10 -A 20 ERROR /tmp/sparklyr.log
cd tests
export NOT_CRAN=true
travis_wait 35 Rscript ../.travis.R --testthat
sleep 2