forked from snoweye/pbdXGB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (36 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
41
42
43
44
45
language: r
branches:
only:
- master
r:
- 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 pbdXGB
# r_packages:
# - rlecuyer
install:
- Rscript -e "install.packages(c('float','rlecuyer','pbdMPI','data.table','stringi','magrittr','xgboost'), repos = 'https://cran.r-project.org/')"
- R CMD check ./pbdXGB_*.tar.gz --as-cran
- cat ./pbdXGB.Rcheck/pbdXGB-Ex.Rout
- cat ./pbdXGB.Rcheck/pbdXGB-Ex.timings
script:
- Rscript -e "sessionInfo()"
# - R CMD INSTALL ./pbdXGB*.tar.gz
sudo: required
dist: trusty
notifications:
email:
on_success: never
on_failure: never