-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (45 loc) · 1.31 KB
/
.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# https://jekyllrb.com/docs/continuous-integration/travis-ci/
# https://docs.travis-ci.com/user/getting-started/
# https://docs.travis-ci.com/user/languages/ruby/
language: ruby
rvm:
- 2.4.1
cache: bundler # caching bundler gem packages will speed up build
sudo: false # route your build to the container-based infrastructure for a faster build
git:
depth: 1
script:
- make update
- make build
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
addons:
apt:
packages:
- libcurl4-openssl-dev
# branch whitelist, only for GitHub Pages
# https://docs.travis-ci.com/user/customizing-the-build/#safelisting-or-blocklisting-branches
branches:
only:
- source
# https://docs.travis-ci.com/user/deployment/pages/
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_API_KEY
keep-history: true
on:
branch: source
target-branch: master
keep-history: true
email: [email protected]
name: deploy-bot
allow-empty-commit: false
github-url: github.com
verbose: true
# https://stackoverflow.com/questions/23277391/how-to-publish-to-github-pages-from-travis-ci
# https://ibug.github.io/blog/2018/04/build-github-pages-with-travis-ci.html
# Optional: disable email notifications about the outcome of your builds
notifications:
email: false