forked from RBigData/pbdMPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
47 lines (38 loc) · 933 Bytes
/
.travis.yml
File metadata and controls
47 lines (38 loc) · 933 Bytes
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
language: r
branches:
only:
- master
- osx
r:
# - devel
- release
os:
- linux
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
- cd ../
- R CMD build --no-resave-data --no-manual --no-build-vignettes pbdMPI
# r_packages:
# - rlecuyer
install:
- Rscript -e "install.packages(c('float','rlecuyer','pbdZMQ','pbdPROF'), 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 INSTALL ./pbdMPI_*.tar.gz
sudo: required
dist: trusty
notifications:
email:
on_success: never
on_failure: never