forked from travis-ci/docs-travis-ci-com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (46 loc) · 1.3 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
#language: ruby
dist: trusty
language: python
python:
- "3.5.2"
branches:
only:
- master
env:
global:
- PATH=$HOME/.local/user/bin:$PATH
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
cache:
pip: true
directories:
- vendor/bundle
- node_modules
- $TRAVIS_BUILD_DIR/tmp/.htmlproofer #https://github.com/gjtorikian/html-proofer/issues/381
addons:
apt:
packages:
- libxml2-utils
deploy:
provider: heroku
api_key:
secure: "hylw2GIHMvZKOKX3uPSaLEzVrUGEA9mzGEA0s4zK37W9HJCTnvAcmgRCwOkRuC4L7R4Zshdh/CGORNnBBgh1xx5JGYwkdnqtjHuUQmWEXCusrIURu/iEBNSsZZEPK7zBuwqMHj2yRm64JfbTDJsku3xdoA5Z8XJG5AMJGKLFgUQ="
app: docs-travis-ci-com
skip_cleanup: true
on:
branch:
- master
notifications:
slack:
rooms:
secure: LPNgf0Ra6Vu6I7XuK7tcnyFWJg+becx1RfAR35feWK81sru8TyuldQIt7uAKMA8tqFTP8j1Af7iz7UDokbCCfDNCX1GxdAWgXs+UKpwhO89nsidHAsCkW2lWSEM0E3xtOJDyNFoauiHxBKGKUsApJTnf39H+EW9tWrqN5W2sZg8=
on_success: never
webhooks:
https://docs.travis-ci.com/update_webhook_payload_doc
install:
- rvm use 2.4.3 --install
- gem install bundler -v '< 2'
- bundle install --deployment
- sudo apt-get install libcurl4-openssl-dev # required to avoid SSL errors
script:
- bundle exec rake test
- xmllint --noout _site/feed.build-env-updates.xml