forked from RBigData/pbdMPI
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
50 lines (40 loc) · 1.08 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
branches:
only:
- master
# - osx
os:
- linux
env:
global:
- CRAN: https://cran.rstudio.com
- _R_CHECK_FORCE_SUGGESTS_=FALSE
before_install:
- sudo apt-get update -q
- sudo apt-get install -y -q libopenmpi-dev openmpi-bin
- LD_PRELOAD=/usr/lib/openmpi/lib/libmpi.so
- mpiexec --version
- mpicc -showme:incdirs
- mpicc -showme:libdirs
- mpicc -showme:compile
- mpicc -showme:link
- mpiexec -np 2 hostname
# r_packages:
# - rlecuyer
install:
- Rscript -e "install.packages(c('float','rlecuyer'))"
# - Rscript -e "install.packages(c('float','rlecuyer'), repos = 'https://cran.r-project.org/')"
# - R CMD check ./pbdMPI_*.tar.gz --as-cran
# - cat ./pbdMPI.Rcheck/pbdMPI-Ex.Rout
# - cat ./pbdMPI.Rcheck/pbdMPI-Ex.timings
script:
- Rscript -e "sessionInfo()"
- R CMD build --no-resave-data --no-manual --no-build-vignettes .
- R CMD check --as-cran --no-manual --ignore-vignettes ./pbdMPI_*.tar.gz
# - R CMD INSTALL ./pbdMPI_*.tar.gz
after_failure:
notifications:
email:
on_success: no
on_failure: no