Update travis.yml to use $GITHUB_USER_NAME and $GITHUB_USER_EMAIL (#7811)

See https://github.com/facebook/react/pull/7747#issuecomment-249677880 for discussions
(cherry picked from commit fb1e7075ed)
This commit is contained in:
Christopher Chedeau
2016-10-04 14:02:22 -07:00
committed by Paul O’Shannessy
parent 3135f888f0
commit a28dc34918
+2 -2
View File
@@ -28,8 +28,8 @@ script:
GH_PAGES_DIR="$TRAVIS_BUILD_DIR"/../react-gh-pages
echo "machine github.com login reactjs-bot password $GITHUB_TOKEN" >~/.netrc
git config --global user.name "Travis CI"
git config --global user.email "travis@reactjs.org"
git config --global user.name "$GITHUB_USER_NAME"
git config --global user.email "$GITHUB_USER_EMAIL"
git clone --branch gh-pages --depth=50 \
https://reactjs-bot@github.com/facebook/react.git \