Skip to content

Commit e6514b8

Browse files
committed
Fix problem with .travis.yml
1 parent 3b99955 commit e6514b8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ after_success:
9292
- cd $TRAVIS_BUILD_DIR
9393
- git config --global user.name "TRAVIS-CI-for-$(git --no-pager show -s --format='%cn' $TRAVIS_COMMIT)"
9494
- git config --global user.email "$(git --no-pager show -s --format='%ce' $TRAVIS_COMMIT)"
95-
- [[ $DEPLOY_DOCUMENTATION == [yY]* ]] && ./deploy.sh #publish docs for master branch and tags
95+
- |
96+
if [[ $DEPLOY_DOCUMENTATION == [yY]* ]]; then
97+
./deploy.sh #publish docs for master branch and tags
98+
fi
9699
- (yes | rm -r doc gh-pages) || true # wipe out doc dirs to avoid confusing codecov
97100
- |
98101
if [[ $CODE_COVERAGE == [yY]* ]]; then

0 commit comments

Comments
 (0)