Welcome to mirror list, hosted at ThFree Co, Russian Federation.

configure_git.sh « travis « tests - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d9faa80d2db64cef47dd46b6fe5e0c16fed63055 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

if [ "$TRAVIS_COMMITTER_EMAIL" == "" ]; then
    TRAVIS_COMMITTER_EMAIL="hello@piwik.org"
fi

if [ "$TRAVIS_COMMITTER_NAME" == "" ]; then
    TRAVIS_COMMITTER_NAME="Piwik Automation"
fi

echo "Configuring git [email = $TRAVIS_COMMITTER_EMAIL, user = $TRAVIS_COMMITTER_NAME]..."

git config --global user.email "$TRAVIS_COMMITTER_EMAIL"
git config --global user.name "$TRAVIS_COMMITTER_NAME"