-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis-disabled.yml
46 lines (35 loc) · 1 KB
/
.travis-disabled.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
# https://docs.travis-ci.com/user/languages/minimal-and-generic/
language: minimal
cache:
packages: true
## https://docs.travis-ci.com/user/docker/
services:
- docker
branches:
only:
- master
before_install:
- docker pull sneumann/metarbolomics-book-base
env:
- RENDER_BOOK_TARGET='c("bookdown::gitbook", "bookdown::pdf_book", "bookdown::epub_book")'
# - RENDER_BOOK_TARGET='"bookdown::gitbook"'
# - RENDER_BOOK_TARGET='"bookdown::pdf_book"'
# - RENDER_BOOK_TARGET='"bookdown::epub_book"'
script:
- ./travisScript.sh
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_PAT
keep-history: true
local-dir: build/public
on:
branch: master
# In general the r-travis script automatically dump the logs after failure but
# because of a bug in travis the output is often truncated. See
# https://github.com/travis-ci/travis-ci/issues/6018
after_failure: sleep 10
notifications:
email:
on_failure: change
on_success: change