-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
43 lines (39 loc) · 1.26 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
stages:
- buildJavaDependencies
- buildRPackage
jobs:
include:
- stage: "buildJavaDependencies"
name: "Build Java Dependencies"
language: java
cache:
packages: true
directories:
- /home/travis/build/thospfuller/rcoboldi/java/rcoboldi-assembly/target/
jdk: oraclejdk11
before_script:
- $HOME/build/thospfuller/rcoboldi/travis-install-java-dependencies.sh
script:
- cd ./java && mvn clean package && cd /home/travis/build/thospfuller/rcoboldi
# after_success:
# - $HOME/build/thospfuller/rcoboldi/cp-jar-to-inst-java.sh
- stage: "buildRPackage"
name: "Build R Package"
language: r
r:
- release
#cache:
# packages: true
# directories:
# - /home/travis/build/thospfuller/rcoboldi/java/rcoboldi-assembly/target/
install:
- Rscript -e 'install.packages(c("devtools","roxygen2","testthat", "RJSONIO"));devtools::install_deps("r-package")'
before_script:
- $HOME/build/thospfuller/rcoboldi/cp-jar-to-inst-java.sh
script:
- Rscript -e 'devtools::check("/home/travis/build/thospfuller/rcoboldi/r-package/")'
dist: bionic
notifications:
email:
on_success: change
on_failure: change