-
Notifications
You must be signed in to change notification settings - Fork 4
/
ci.sh
executable file
·36 lines (34 loc) · 1.35 KB
/
ci.sh
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
#!/bin/sh
# Script to be launched on a continuous integration machine
cd MixtComp
./clean.sh
./build.sh Coverage
cd build/ && MC_DETERMINISTIC=T make MixtComp_coverage && cd ..
./valgrindRun.sh
cd ../JMixtComp
./clean.sh
./build.sh Debug
cd build/ && make runUtestJMC && cd ..
./valgrindRun.sh
cd ../pyMixtComp
./clean.sh
./build.sh build
./utest.sh
cd ../RMixtCompIO
make clean
make updateLib
make all
Rscript -e 'library(methods); library(devtools); options(testthat.output_file = "RMCIOtest.xml"); test(".", reporter = JunitReporter)'
cd ../RMixtCompUtilities
R CMD INSTALL --no-multiarch --with-keep.source .
Rscript -e 'library(methods); library(devtools); options(testthat.output_file = "RMCUttest.xml"); test(".", reporter = JunitReporter)'
cd ../RMixtComp
R CMD INSTALL --no-multiarch --with-keep.source .
Rscript -e 'library(methods); library(devtools); options(testthat.output_file = "RMCtest.xml"); test(".", reporter = JunitReporter)'
cd ../RJMixtComp
./update.sh
R CMD INSTALL --no-multiarch --with-keep.source .
Rscript -e 'library(methods); library(devtools); options(testthat.output_file = "RJMCtest.xml"); test(".", reporter = JunitReporter)'
# cd ../RMixtCompHier
# R CMD INSTALL --no-multiarch --with-keep.source .
# Rscript -e 'library(methods); library(devtools); options(testthat.output_file = "RMCHiertest.xml"); test(".", reporter = JunitReporter)'