-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
40 lines (32 loc) · 948 Bytes
/
.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
language: r
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
# - curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
# - chmod 755 ./travis-tool.sh
# - ./travis-tool.sh bootstrap
# - ./travis-tool.sh install_github snoweye/pbdMPI
- cd ../
- R CMD build --no-resave-data --no-manual --no-build-vignettes pbdSLAP
# r_packages:
# - rlecuyer
install:
# - ./travis-tool.sh install_deps
- Rscript -e "install.packages(c('float','rlecuyer','pbdMPI'),repos='https://cran.r-project.org/')"
- R CMD check ./pbdSLAP_*.tar.gz --as-cran
- cat ./pbdSLAP.Rcheck/pbdSLAP-Ex.Rout
- cat ./pbdSLAP.Rcheck/pbdSLAP-Ex.timings
script:
- R CMD INSTALL ./pbdSLAP_*.tar.gz
sudo: required
# dist: trusty
notifications:
email:
on_success: never
on_failure: never