Skip to content

Commit 409696e

Browse files
committed
Updated Travis config.
1 parent 0067188 commit 409696e

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ before_install:
77
install:
88
- pip install --upgrade pip
99
- pip install ruamel.yaml
10+
- bundle install --path vendor/bundle --quiet
1011

1112
addons:
1213
apt:

_scripts/travis/cibuild.sh

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,20 @@ if [[ $TRAVIS_PULL_REQUEST = "false" ]]; then # triggered by author
1717

1818
else # triggered by Pull Request
1919

20-
SAFE_DOMAIN=cdn.jsdelivr.net
21-
22-
bundle install --path vendor/bundle --quiet
20+
SAFE_DOMAIN="cdn.jsdelivr.net"
2321

2422
python _scripts/py/init_all.py
2523

26-
build_cmd="JEKYLL_ENV=production bundle exec jekyll build"
24+
build_cmd="bundle exec jekyll build"
2725

2826
echo "\$ $build_cmd"
2927
eval $build_cmd
3028

31-
bundle exec htmlproofer --disable-external \
29+
bundle exec htmlproofer _site/ \
30+
--disable-external \
3231
--check-html \
3332
--empty_alt_ignore \
3433
--allow_hash_href \
35-
--url_ignore $SAFE_DOMAIN \
36-
_site/
34+
--url_ignore $SAFE_DOMAIN
3735

3836
fi

0 commit comments

Comments
 (0)