forked from quattor/quattor.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (28 loc) · 829 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
language: ruby
rvm:
- 2.4.2
before_install: gem install bundler # update bundler.
before_script: bundle update github-pages
# Assume bundler is being used, therefore
# the `install` step will run `bundle install` by default.
script:
- ./.travis-scripts/spellchecker
- ./.travis-scripts/html-proofer
# branch whitelist, only for GitHub Pages
branches:
only:
- master
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
cache:
bundler: true
directories:
- $TRAVIS_BUILD_DIR/tmp/.htmlproofer # See https://github.com/gjtorikian/html-proofer/issues/381
addons:
apt:
packages:
- python3-enchant # Won't be used, but pulls in required system dependencies for version from PIP
- libcurl4-openssl-dev # required to avoid SSL errors
sudo: false
dist: trusty