-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (27 loc) · 899 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
36
37
# .travis.yml
language: ruby
rvm: 2.6.3
install:
# Install binary pandoc from Rstudio
# To use Pandoc, uncomment the following
# - export PATH="$HOME/pandoc:$PATH"
# - mkdir $HOME/pandoc
# - curl -O https://s3.amazonaws.com/rstudio-buildtools/pandoc-1.13.1.zip
# - unzip -j pandoc-1.13.1.zip pandoc-1.13.1/linux/debian/x86_64/pandoc
# -d $HOME/pandoc
# - chmod +x $HOME/pandoc/pandoc
# - pandoc --version
# Install Jekyll and dependencies
- gem install jekyll
- gem install html-proofer
- bundle install
script: bundle exec jekyll build
bundle exec htmlproofer ./_site
branches:
only:
- master
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
sudo: false # route your build to the container-based infrastructure for a faster build
cache: bundler # caching bundler gem packages will speed up build