forked from webrtc/webrtc-org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (27 loc) · 826 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
sudo: false
language: ruby
rvm: 2.3.3
env:
global:
- PATH=$HOME/google-cloud-sdk/bin:$PATH
- CLOUDSDK_CORE_DISABLE_PROMPTS=1
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speed up html-proofer install
# Run the install script, but suppress tar output since excessive output
# makes Travis choke.
before_install:
- if [ ! -d ${HOME}/google-cloud-sdk ]; then
curl https://sdk.cloud.google.com | bash | grep -v google-cloud-sdk;
fi
cache:
bundler: true
# See the following for more details:
# https://docs.travis-ci.com/user/customizing-the-build/#Building-Specific-Branches
branches:
only:
- gh-pages
- /.*/
script:
- bundle exec jekyll build --config _config.yml,_config_prod.yml
- gem install html-proofer
- htmlproofer ./_site --only-4xx --allow-hash-href --alt-ignore '/.*/'
- _scripts/travis-deploy.sh