forked from TrumpTracker/trumptracker.github.io
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
33 lines (27 loc) · 883 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
language: ruby
cache: bundler
sudo: false
rvm:
- 2.2.5
# Assume bundler is being used, therefore
# the `install` step will run `bundle install` by default.
script: "bundle exec rake test"
# http://stackoverflow.com/questions/28611513/travis-build-failing-on-jekyll-project-cannot-find-jekyll
# for html5proof ./script/cibuild && jekyll build && htmlproofer ./_site
# 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:
- $TRAVIS_BUILD_DIR/tmp/.htmlproofer