-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
67 lines (60 loc) · 1.47 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
# Default configuration for use with tic package
# tic documentation to get started: https://ropenscilabs.github.io/tic/
# DO NOT CHANGE THE CODE BELOW
before_install:
- R -q -e 'if (!requireNamespace("remotes")) install.packages("remotes")'
- R -q -e 'if (getRversion() < "3.2" && !requireNamespace("curl")) install.packages("curl")'
- R -q -e 'remotes::install_github("ropenscilabs/tic", upgrade = "always"); print(tic::dsl_load()); tic::prepare_all_stages()'
- R -q -e 'tic::before_install()'
install: R -q -e 'tic::install()'
before_script: R -q -e 'tic::before_script()'
script: R -q -e 'tic::script()'
after_success: R -q -e 'tic::after_success()'
after_failure: R -q -e 'tic::after_failure()'
before_deploy: R -q -e 'tic::before_deploy()'
deploy:
provider: script
script: R -q -e 'tic::deploy()'
on:
all_branches: true
after_deploy: R -q -e 'tic::after_deploy()'
after_script: R -q -e 'tic::after_script()'
# DO NOT CHANGE THE CODE ABOVE
# Custom parts:
# Header
language: r
sudo: false
dist: bionic
cache:
- packages
- $HOME/.ccache
latex: false
#stages: test, full
stages:
- name: test
- name: full
if: branch = master
#jobs
jobs:
include:
- r: devel
env:
- TIC_DEV_VERSIONS=TRUE
- r: 3.2
- stage: full
os: osx
- r: release
env:
- TIC_BUILD_PKGDOWN=true
- r: 3.5
- r: 3.4
- r: 3.3
fast_finish: true
#env
env:
global:
- _R_CHECK_FORCE_SUGGESTS_=false
- _R_CHECK_SYSTEM_CLOCK_=false
- MAKEFLAGS="-j 2"
#services
services: