forked from mlr-org/mlr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
80 lines (78 loc) · 3.14 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
language: r
sudo: false
dist: trusty
cache: packages
latex: true
env:
global:
- _R_CHECK_TIMINGS_=0
- _R_CHECK_TESTS_NLINES_=999
- secure: "d0xff7hriQyReF4y3/iR5sHJlXocKNKcN6/Gi/r9Hxsfuh2Hx3fouQCMSPP+Oba6MDgEvAfryToAxcmaoZByQMwgevB0OBy5xkatj3oTHmhN5Nbk3jNXxXfA6P0Oqxaf7lXVZk2+Ly+PWnbgXn0uhjzdaZo0cWtVJ660ajS0x9Q="
- WARMUPPKGS='roxygen2 pander mlrMBO purrr cowplot sf mlbench mldr RWeka RWekajars knitr dplyr ggplot2 ranger randomForest kernlab igraph rjson rmarkdown xgboost xml2 ggpubr FSelectorRcpp praznik'
jobs:
include:
- stage: warmup
env: RCMDCHECK=TRUE
addons:
apt:
packages:
- libgmp-dev
- libgsl0-dev
- libgdal-dev # for sf
- libproj-dev # for sf
- libgeos-dev # for sf
- libudunits2-dev # for sf
before_install:
- R -q -e 'if (!requireNamespace("BiocManager")) install.packages("BiocManager"); if (!requireNamespace("genefilter")) BiocManager::install("genefilter")'
- R -q -e 'if (!requireNamespace("remotes")) install.packages("remotes"); if (!requireNamespace("curl")) install.packages("curl"); remotes::install_github("ropenscilabs/tic"); tic::prepare_all_stages(); tic::before_install()'
install: R -q -e 'tic::install()'
script: true
after_script: R -q -e 'tic::after_script()'
- stage: check
env: RCMDCHECK=TRUE
addons:
apt:
packages:
- libgmp-dev
- libgsl0-dev
- libgdal-dev # for sf
- libproj-dev # for sf
- libgeos-dev # for sf
- libudunits2-dev # for sf
before_install: R -q -e 'if (!requireNamespace("remotes")) install.packages("remotes"); if (!requireNamespace("curl")) install.packages("curl"); remotes::install_github("ropenscilabs/tic"); tic::prepare_all_stages(); tic::before_install()'
warnings_are_errors: false
before_script: R -q -e 'tic::before_script()'
script: R -q -e 'tic::script()'
after_script: R -q -e 'tic::after_script()'
before_deploy: R -q -e 'tic::before_deploy()'
deploy:
provider: script
script: R -q -e 'tic::deploy()'
on:
all_branches: true
- stage: Tutorial
env: TUTORIAL=HTML
addons:
apt:
packages:
- libgmp-dev
- libgsl0-dev
- libmagick++-dev # for favicon
- libgdal-dev # for sf
- libproj-dev # for sf
- libgeos-dev # for sf
- libudunits2-dev # for sf
latex: false
pandoc_version: 2.3.1
before_install:
- R -q -e 'if (!requireNamespace("BiocManager")) install.packages("BiocManager"); if (!requireNamespace("genefilter")) BiocManager::install("genefilter")'
- R -q -e 'install.packages("remotes"); remotes::install_github("ropenscilabs/tic"); tic::prepare_all_stages()'
install: R -q -e 'tic::install()'
script: R -q -e 'tic::script()'
after_script: R -q -e 'tic::after_script()'
before_deploy: R -q -e 'tic::before_deploy()'
deploy:
provider: script
script: R -q -e 'tic::deploy()'
on:
all_branches: true