-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (25 loc) · 882 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
language: ruby
cache: bundler
rvm:
- 2.4.0
# before_script:
# - chmod +x ./.ci/cibuild
#
# script: ./.ci/cibuild
# install: gem install jekyll html-proofer
#
# The `install` step will run `bundle install` by default.
# install: bundle install
# script: jekyll build && htmlproofer ./_site --disable-external
script: bundle exec jekyll build --config _config-travis.yml && bundle exec htmlproofer --assume-extension --disable-external ./_site
# branch whitelist for GitHub Pages
branches:
only:
- master # test if Pages is configured to use master
- gh-pages # test the gh-pages branch
- /pages-(.*)/ # test every branch which starts with "pages-"
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
- JEKYLL_LOG_LEVEL=warn
sudo: false # route your build to the container-based infrastructure for a faster build