attempt to fix Travis build

This commit is contained in:
Jack Fitch 2022-06-20 19:47:16 -04:00
parent b00933eaa4
commit 7549aa57ab
No known key found for this signature in database
GPG Key ID: 753BA18D9DE77C27
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
#!/bin/bash
if [[ "$TRAVIS_REPO_SLUG" != "MilkBowl/Vault" ]]
if [[ "${TRAVIS_REPO_SLUG}" != "MilkBowl/Vault" ]]
then
echo 'Travis can only publish docs for release builds.'
return 0
fi
if [[ $TRAVIS_PULL_REQUEST == true || "$TRAVIS_BRANCH" != "master" ]]
if [[ "${TRAVIS_PULL_REQUEST}" = "true" || "${TRAVIS_BRANCH}" != "master" ]]
then
mvn test
else