forked from tidyverse/readr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (32 loc) · 916 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
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: R
sudo: false
cache: packages
env:
global:
- MAKEFLAGS="-j 2"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.9
packages:
- clang-format-3.9
before_install: travis/check_format.sh
matrix:
include:
- r: devel
- r: release
after_success: Rscript -e 'covr::codecov()'
before_cache: Rscript -e 'remotes::install_cran("pkgdown")' -e 'remotes::install_github("tidyverse/tidytemplate")' -e 'remotes::install_cran("tidyverse")'
deploy:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github()'
skip_cleanup: true
on:
condition: $TRAVIS_BRANCH = master || -n $TRAVIS_TAG
- r: oldrel
- r: 3.3
- r: 3.2
- r: 3.1
warnings_are_errors: false # There is a spurious warning during installation on R 3.1