another attempt to fix Travis build

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

View File

@ -1,11 +1,10 @@
#!/bin/bash
if [[ "${TRAVIS_REPO_SLUG}" != "MilkBowl/Vault" ]]
then
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" ]]
then
if [[ "${TRAVIS_PULL_REQUEST}" == "true" || "${TRAVIS_BRANCH}" != "master" ]]; then
mvn test
else
mvn clean deploy --settings .utility/settings.xml