-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
executable file
·49 lines (47 loc) · 1.28 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
# parts of this travis yaml are based on https://gist.github.com/mjackson/5887963e7d8b8fb0615416c510ae8857
language: r
dist: trusty
warnings_are_errors: true
cache:
directories:
- $HOME/R/Library
- $HOME/google-cloud-sdk
- $HOME/.cache # phantomjs
services:
- docker
env:
global:
# Do not prompt for user input when using any SDK methods.
- CLOUDSDK_CORE_DISABLE_PROMPTS=1
before_install:
- source <(curl -sSL https://raw.githubusercontent.com/dynverse/travis_scripts/master/helper.sh)
- install_phantomjs
install:
- install_cran devtools covr
- install_cran covr
- use_dynverse_devel
- install_withdeps
before_deploy:
- if [ ! -d "$HOME/google-cloud-sdk/bin" ]; then rm -rf $HOME/google-cloud-sdk; export CLOUDSDK_CORE_DISABLE_PROMPTS=1; curl https://sdk.cloud.google.com | bash; fi
- source /home/travis/google-cloud-sdk/path.bash.inc
- gcloud --quiet version
- gcloud --quiet components update
- gcloud --quiet components update kubectl
deploy:
- provider: script
script: ./inst/deploy/deploy.sh
skip_cleanup: true
on:
branch: master
after_success:
- R -e 'covr::codecov()'
jobs:
include:
- stage: prepare cache
script:
- echo Skip
after_success:
- echo Skip
deplor:
- echo Skip
- stage: test