Skip to content

Commit 12f700c

Browse files
committed
CI
1 parent 4dda932 commit 12f700c

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

.Rbuildignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
redocument
22
reconf
3+
^\.travis\.yml$
4+
appveyor.yml

.travis.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
language: r
2+
3+
r:
4+
# - devel
5+
- release
6+
7+
os:
8+
- linux
9+
10+
before_install:
11+
- cd ../
12+
- sudo apt-get update -q
13+
- sudo apt-get install -y -q libopenmpi-dev openmpi-bin
14+
- LD_PRELOAD=/usr/lib/openmpi/lib/libmpi.so
15+
- Rscript -e "install.packages(c('float','rlecuyer'),repos='https://cran.r-project.org/')"
16+
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
17+
- chmod 755 ./travis-tool.sh
18+
- ./travis-tool.sh bootstrap
19+
- ./travis-tool.sh install_github snoweye/pbdMPI
20+
- ./travis-tool.sh install_github snoweye/pbdSLAP/tree/lto
21+
- R CMD build --no-resave-data --no-manual --no-build-vignettes pbdBASE
22+
23+
# r_packages:
24+
# - rlecuyer
25+
26+
install:
27+
# - ./travis-tool.sh install_deps
28+
# - Rscript -e "install.packages(c('float','rlecuyer','pbdMPI','pbdSLAP'),repos='https://cran.r-project.org/')"
29+
- R CMD check ./pbdBASE_*.tar.gz --as-cran
30+
- cat ./pbdBASE.Rcheck/pbdBASE-Ex.Rout
31+
- cat ./pbdBASE.Rcheck/pbdBASE-Ex.timings
32+
33+
script:
34+
- R CMD INSTALL ./pbdBASE_*.tar.gz
35+
36+
sudo: required
37+
dist: trusty
38+
39+
notifications:
40+
email:
41+
on_success: never
42+
on_failure: never

0 commit comments

Comments
 (0)