-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
42 lines (35 loc) · 902 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
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: R
sudo: false
after_success:
- if [ $TRAVIS_OS_NAME == "linux" ]; then Rscript -e 'covr::codecov()'; fi
# For some reason statnet.common is not found in the oldrel (I think)
# r_github_packages:
# - muriteams/statnet.common
brew_packages:
- libgit2
- llvm
- libomp
# We don't want the devel version on OSX
matrix:
include:
- os: linux
r: oldrel
- os: linux
r: release
env:
- R_CODECOV=true
- BUILD_WWW_HERE=true
- os: linux
r: devel
- os: osx
osx_image: xcode10.2
# For automatic deploy of the website
before_deploy: Rscript -e 'remotes::install_cran("pkgdown")'
deploy:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github()'
skip_cleanup: true
on:
branch: master
condition: $BUILD_WWW_HERE = true