-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (28 loc) · 957 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
language: R
sudo: required
cache: packages
r_packages:
- bookdown
before_script:
- chmod +x ./_build.sh
before_install: # Install Ruby and html-proofer
#- sudo apt-get update && sudo apt-get --reinstall install -qq texlive-lang-european texlive-lang-norwegian
- rvm get stable --auto-dotfiles
- rvm install 2.3.3
- gem install html-proofer
- tlmgr install xcolor sectsty babel babel-norsk framed
script:
- ./_build.sh
- htmlproofer --alt-ignore images/logo.svg ./docs
deploy:
provider: pages # Specify the gh-pages deployment method
skip_cleanup: true # Don't remove files
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
local_dir: docs # Deploy the docs folder
on:
branch: master
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # Speed up the html-proofer
notifications:
email: false