Skip to content

Commit e71db96

Browse files
author
gau1991
committed
Fixed travis not updating .gitconfig
1 parent c63fcda commit e71db96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ before_script:
2323

2424
script:
2525
- unset LANG
26-
- sudo echo -e "[user]\n\tname = abc\n\temail = [email protected]" > ~/.gitconfig
26+
- sudo bash -c 'echo -e "[user]\n\tname = abc\n\temail = [email protected]" > /home/travis/.gitconfig'
2727
- sudo echo "Travis Banch = $TRAVIS_BRANCH"
2828
- sudo apt-get install -y --force-yes git python3-setuptools python3-dev python3-apt
2929
- sudo bash install $TRAVIS_BRANCH

0 commit comments

Comments
 (0)