-
Notifications
You must be signed in to change notification settings - Fork 38
/
.travis.yml
93 lines (93 loc) · 6.99 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
81
82
83
84
85
86
87
88
89
90
91
92
93
language: r
branches:
only:
- dev
- master
cache:
packages: true
directories:
- travis_phantomjs
before_install:
- export PHANTOMJS_VERSION=2.1.1
- phantomjs --version
- export PATH=$PWD/travis_phantomjs/phtantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin:$PATH
- hash -r
- phantomjs --version
- if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then rm -rf $PWD/travis_phantomjs;
mkdir -p $PWD/travis_phantomjs; fi
- if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then wget https://github.com/Medium/phantomjs/releases/download/v$PHANTOMJS_VERSION/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2
-O $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2; fi
- if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2
-C $PWD/travis_phantomjs; fi
- if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then hash -r; fi
- phantomjs --version
matrix:
include:
- os: osx
osx_image: xcode10.2
before_install:
- brew update
- os: linux
dist: xenial
pandoc: true
r: release
env: REPORTS_DEPLOY="true"
after_success:
- Rscript -e 'covr::codecov()'
- Rscript ./scripts/generate_sample_reports.R
- os: linux
dist: xenial
pandoc: true
r: devel
- os: linux
dist: xenial
pandoc: false
r: release
- os: linux
dist: xenial
pandoc: false
r: devel
addons:
apt:
packages:
- libproj-dev
before_cache: Rscript -e 'remotes::install_cran("pkgdown")'
deploy:
- provider: script
on:
condition: $REPORTS_DEPLOY = "true"
branch: master
script: Rscript -e 'pkgdown::build_site(preview = FALSE)'
skip_cleanup: true
- provider: s3
on:
condition: $REPORTS_DEPLOY = "true"
branch: master
local-dir: reports
upload-dir: reports
region: us-west-2
skip_cleanup: true
server_side_encryption: true
access_key_id:
secure: RY4KiATYZAqsa8jMwJz6Y445isYW5mOOpuzTmPuVylBQ5FrefJWuUK4XxNvn0eVOim/d65FWiSy/+tkq29oI1nDtOm8sEbbBjCI5BnjLkWhCIscrTprBF20FmVSFR9jBLARBzCKJiP931KUYFDgYsVfC/npjKPiMGa+ID79BclmDtCrnlJgBD2gIqIKfg3BlhmUpx5+P6Pxhi+fhqInOFBaVql3g6T82mDiDLm6CiFFftYJ5tMBjT1f9+nwGxK8t4+7kMQj8KdiRWcCSiWLfxiZTHekGr/ZkrNb4A+NaLlTJNiYfusnV6rcf9HT6XGFdtr68HcEsHrGuXXGBKjp3hy8GuFnTZ/GneDXvGCP8vXHlIlewHRn3bYmoGZR156GSKRMUMRr8+y7sOhNn/+kjT5hVE/uZ1E/wGSi1rRdSTa3wVpooe8AlAeC06sOcVYXBvefAk1GDAL8lTSa5mOtWxJOtCF6xtj5H4YEi5ZBE5qHWX1a6bkf2Go1TNL3H8lI5kUZaNno3KclWRU7qbqs6KRw/1ZBfYeaHWzvN65Q9d8Fy10++2ZJDJFG9wFlJ+dVftCDNcbFRv0AhytIAwTdzOFXp1gok+D4VL1+vl7GrRMnLkH9dyJsr520/10PVwL8Orc+HXBUi2K2eFGbO3JQbj+Swq5pYPx2FQhcQ5sPYWbA=
secret_access_key:
secure: Ot4JagoK4wT/CFkpCaTlnTWItBtPmmRcJortEfsVWb7SczFMAbEx0Hrsq+JV8Qk3E2vALeG4FzdXbgByUP7HHWYubZN5WcOJkOHc5HDzGAfl+XJYGtOSS54HsqP+MrrDJpDqIRBfFVPhkmORBNNevf79YILJIH3zNfu3Jrwc66ErD3tgJ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LdHClVYzCsIqjDewVGzill1tLSOSXU0zFB0uuRcwc8NIn4qM6tRWJixvFHS9puHm7QNsVkTJU89DUtNhd9YWmWBIroix6X8Oh3TPjWLs/YxLL7u/138X+q19d9+QGLZg=
- provider: s3
on:
condition: $REPORTS_DEPLOY = "true"
branch: master
local-dir: docs
region: us-west-2
skip_cleanup: true
server_side_encryption: true
access_key_id:
secure: RY4KiATYZAqsa8jMwJz6Y445isYW5mOOpuzTmPuVylBQ5FrefJWuUK4XxNvn0eVOim/d65FWiSy/+tkq29oI1nDtOm8sEbbBjCI5BnjLkWhCIscrTprBF20FmVSFR9jBLARBzCKJiP931KUYFDgYsVfC/npjKPiMGa+ID79BclmDtCrnlJgBD2gIqIKfg3BlhmUpx5+P6Pxhi+fhqInOFBaVql3g6T82mDiDLm6CiFFftYJ5tMBjT1f9+nwGxK8t4+7kMQj8KdiRWcCSiWLfxiZTHekGr/ZkrNb4A+NaLlTJNiYfusnV6rcf9HT6XGFdtr68HcEsHrGuXXGBKjp3hy8GuFnTZ/GneDXvGCP8vXHlIlewHRn3bYmoGZR156GSKRMUMRr8+y7sOhNn/+kjT5hVE/uZ1E/wGSi1rRdSTa3wVpooe8AlAeC06sOcVYXBvefAk1GDAL8lTSa5mOtWxJOtCF6xtj5H4YEi5ZBE5qHWX1a6bkf2Go1TNL3H8lI5kUZaNno3KclWRU7qbqs6KRw/1ZBfYeaHWzvN65Q9d8Fy10++2ZJDJFG9wFlJ+dVftCDNcbFRv0AhytIAwTdzOFXp1gok+D4VL1+vl7GrRMnLkH9dyJsr520/10PVwL8Orc+HXBUi2K2eFGbO3JQbj+Swq5pYPx2FQhcQ5sPYWbA=
secret_access_key:
secure: Ot4JagoK4wT/CFkpCaTlnTWItBtPmmRcJortEfsVWb7SczFMAbEx0Hrsq+JV8Qk3E2vALeG4FzdXbgByUP7HHWYubZN5WcOJkOHc5HDzGAfl+XJYGtOSS54HsqP+MrrDJpDqIRBfFVPhkmORBNNevf79YILJIH3zNfu3J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