Skip to content

Commit 39b9675

Browse files
updating travis script
1 parent b637448 commit 39b9675

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,9 @@ warnings_are_errors: true
1212
before_install:
1313
- tlmgr install index # for texlive and vignette?
1414
- R -e 'install.packages(c("Rcpp", "intervals"), repos="http://cloud.r-project.org")'
15+
- cd C-software
16+
- git submodule init
17+
- git submodule update
18+
- make src
1519
- make Rcpp
1620
- cd selectiveInference

Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ Rcpp:
33
- rm -f selectiveInference/R/RcppExports.R
44
Rscript -e "library(Rcpp); Rcpp::compileAttributes('selectiveInference')"
55

6-
install: Rcpp
7-
cp C-software/src/* selectiveInference/src
6+
install: Rcpp src
87
R CMD INSTALL selectiveInference
98

10-
build:
11-
cp C-software/src/* selectiveInference/src
9+
build: src
1210
R CMD build selectiveInference
1311

12+
src:
13+
cp C-software/src/* selectiveInference/src
14+
1415
check: Rcpp build
1516
R CMD build selectiveInference
1617
R CMD check selectiveInference_1.2.2.tar.gz # fix this to be a script variable

0 commit comments

Comments
 (0)