Skip to content

Commit

Permalink
Add git config commands to ensure tests pass on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Jan 12, 2015
1 parent c9b1bd1 commit 828a03e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_git.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ def populate_tmpdir(root_dir, tmpdir):
for path in ['helpers', 'calculate_stats.py', 'statsrunner', 'stats']:
os.symlink(os.path.join(root_dir, path), os.path.join(str(tmpdir), path))
subprocess.call('''
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
mkdir -p data/test_publisher
cd data
git init
Expand Down

0 comments on commit 828a03e

Please sign in to comment.