forked from cloudyr/googleComputeEngineR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (34 loc) · 1.65 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
language: r
cache: packages
notifications:
slack: edmondsons:kgTokxui4ZzTsqdD19tCoozf
email:
on_success: change
on_failure: change
r_packages:
- knitr
- covr
- drat
script:
- |
R CMD build .
travis_wait 40 R CMD check googleComputeEngineR*tar.gz
after_failure:
- find *Rcheck -name '*.fail' -print -exec cat '{}' \;
after_success:
- travis_wait 40 Rscript -e 'library("covr");codecov(line_exclusions = list("R/options.R", "R/utilities.R"))'
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && bash
drat.sh
before_install:
- openssl aes-256-cbc -K $encrypted_440eac6d6480_key -iv $encrypted_440eac6d6480_iv
-in secrets.tar.enc -out secrets.tar -d
- tar xvf secrets.tar
- cp auth/auth.json auth.json
- cp auth.json tests/testthat/auth.json
- cp auth/travis-ssh-key tests/testthat/travis-ssh-key
- cp auth/travis-ssh-key.pub tests/testthat/travis-ssh-key.pub
- eval "$(ssh-agent -s)"
- ssh-add tests/testthat/travis-ssh-key
env:
global:
secure: AfUqQSeIySgjKrOloUhvInzjOPhSJkLb5ahKrcQ4h8z5CmuHETC/X2QV9FFDHuxUDUUvA+JPP/tZvrUU1kJfhgEflzgV1mgnsJrTws1LQFjpzhaRUG8zSupFMzGUgX+z+kPu1rV1euTYvdNXVuj8PUVomaLR7bVPKgWYzVuyoVliyfApPIWm+IgDNClvOpCokm5lqdoM/vTnPwh5xaC8z8SK2xE0KcVgrqD53Y10KNs31/abVHGD+8Cdv6j7RElQZMfT1AWYW2auWfvTdeMZZAwr+Uq74c0yWwMq6iQLLPMCGegN7CLp0xWfZ76WfRijkvew8IWf/hCMbetFT2dqtS1vRbfgzzYrQQk1OQSf6bNlZSakwiNAje2enz1bs+41pNcNYBH9E56Jn1cmtKaIgdVBcNBvLe4lf3cAfouro7Adr9bZq+heVfVK4L7ZNCQEfEDewyOJCZXJSD+LmqCeT7hBN7yfoQuPTJ1DTfj++xzAgYZMB2i1mfgbAIiu9tOqkPO6T1oxtWcnrkvofTA0oWgSs8OZSO0ZUOcbHkIhMx8/EjJbw/8NJOI43vQj5xwpfzRAjTX65GdZdjxwuTYKVCPjsMcjwNcDDS49zQO7qfqtVET9ZA0QZP6k5LZugkD7y1+iTTAV+2exptmxcOdJzoWDpf12CkFu8phpOeiNJDI=