36 lines
No EOL
936 B
YAML
36 lines
No EOL
936 B
YAML
language: ruby
|
|
cache: bundler
|
|
rvm:
|
|
- 2.2.5
|
|
|
|
before_script:
|
|
- chmod +x ./script/cibuild # or do this locally and commit
|
|
|
|
# Assume bundler is being used, therefore
|
|
# the `install` step will run `bundle install` by default.
|
|
script: ./script/cibuild
|
|
# http://stackoverflow.com/questions/28611513/travis-build-failing-on-jekyll-project-cannot-find-jekyll
|
|
# for html5proof ./script/cibuild && jekyll build && htmlproofer ./_site
|
|
sudo: false
|
|
|
|
# branch whitelist, only for GitHub Pages
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
env:
|
|
global:
|
|
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
|
|
|
|
notifications:
|
|
webhooks:
|
|
urls:
|
|
- https://webhooks.gitter.im/e/9a2f29b3e24ed162f8d7
|
|
on_success: always # options: [always|never|change] default: always
|
|
on_failure: always # options: [always|never|change] default: always
|
|
on_start: false # default: false
|
|
|
|
cache:
|
|
directories:
|
|
- /tmp/.htmlproofer
|
|
|