mirror of https://github.com/MilkBowl/Vault.git
attempt to fix Travis build
This commit is contained in:
parent
b00933eaa4
commit
7549aa57ab
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue