fix: use posix-friendly logical and in docs script

This commit is contained in:
Phil Booth 2018-10-15 18:39:29 +01:00
parent e863adcf9f
commit be40bb5890
No known key found for this signature in database
GPG Key ID: 36FBB106F9C32516

View File

@ -8,7 +8,7 @@ set -e
echo "Branch: $TRAVIS_BRANCH Pull request: $TRAVIS_PULL_REQUEST"
if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then
echo "Building docs for deployment."
cargo doc --document-private-items