-
Notifications
You must be signed in to change notification settings - Fork 19
/
.travis.yml
33 lines (26 loc) 路 893 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
# version of ruby via .ruby-version file
cache: bundler
# Intented to deal with html_proofer failing SSL checks
sudo: required
before_install:
- sudo update-ca-certificates
before_script:
- chmod +x ./tasks/cibuild # or do this locally and commit
- chmod +x ./tasks/deploy
# Assume bundler is being used, therefore
# the `install` step will run `bundle install` by default.
script: ./tasks/cibuild
after_success:
- tasks/deploy
# branch whitelist, only for GitHub Pages
branches:
only:
- master # 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
- ENCRYPTION_LABEL: "1cd127da4a82"
- COMMIT_AUTHOR_EMAIL: "nodeschoolmtl@bettermtl.com"
#sudo: false # route your build to the container-based infrastructure for a faster build