-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
33 lines (33 loc) · 2.4 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
dist: xenial
sudo: required
language: ruby
cache: bundler
rvm:
- 2.2.2
branches:
only:
- /.*/
- gh-pages
addons:
apt:
packages:
- libcurl4-openssl-dev
before_install:
- pip install --user awscli
- export PATH=$PATH:$HOME/.local/bin
- gem update bundler
before_script:
- "sed -i -e 's!baseurl: \".*\"!baseurl: \"/strata/'\"$TRAVIS_BRANCH\"'\"!' _config.yml"
# Could not get http-proofer to work for HTTPS links, despite lots of attempts, so use --only-4xx instead
# The search.maven.org link fails in http-proofer for some reason, so disable it
script:
- bundle exec jekyll build -d ./_site/strata/$TRAVIS_BRANCH
- bundle exec htmlproofer _site --only-4xx --url-ignore /github.com/,/search.maven.org/ --file-ignore /strata/$TRAVIS_BRANCH/apidocs/
after_success:
- aws s3 sync --quiet --delete _site/strata/ s3://strata-docs-ci.dev.opengamma.com/strata/
- echo "See http://strata-docs-ci.dev.opengamma.com/strata/$TRAVIS_BRANCH/"
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
- secure: eNaP0LPaOdVrFPhLo4mXvw6vvDlxLEkMI7Pq3yAZbrnVCBtaPwZOHKXPDq789mmGHMqPfOkdCcDto2gmfLEJgeGdv17jHGvhXwjCRrf9D7na8VpbQkGrcJNN5VPVu9iH4+r7Z9oIzw3k3qqqAXRfoj8t9kI/dmcrq3CoSSeEC7zsrMeR6R5UjglI4DJ2jhsdi6j0IatTcZKXrkYcrR8GmNcou5A5GAbMhoCk4Dek+RZalQfFdRSHwNRg1lEox3U3XqL4e5LyrGECcyO+nuVw7JwKwWqrVgoPIVVHfkGm+hmcyTrI35qnR2ZwY2YFt3T76nYQPsIYq9dSHu1ia5CVYrwz38v1r6ydPxGDQfW40qQiiGdqTPbS+BLSWQC4e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