#!/bin/bash

if [[ $TRAVIS_BRANCH == 'master' || $TRAVIS_BRANCH == 'develop']]
then
  mvn deploy --settings settings.xml -Prelease
fi

if [[ $TRAVIS_BRANCH == 'master' ]]
then
  git config credential.helper "store --file=.git/credentials"
  echo "https://${GITHUB_TOKEN}:@github.com" > .git/credentials
  mvn site -Prelease
fi
#!/bin/bash

if [[ $TRAVIS_BRANCH == 'master' || $TRAVIS_BRANCH == 'develop' ]]
then
  mvn deploy --settings settings.xml -Prelease
fi

if [[ $TRAVIS_BRANCH == 'master' ]]
then
  git config credential.helper "store --file=.git/credentials"
  echo "https://${GITHUB_TOKEN}:@github.com" > .git/credentials
  mvn site -Prelease
fi
Add space missing from bash command...
Add space missing from bash command...
