Skip to content

Commit af7659d

Browse files
authored
Merge pull request #154 from alzeih/patch-1
Fix test error "fatal: empty ident name (for <(null)>) not allowed"
2 parents 77a7bba + 0637a50 commit af7659d

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ env: # These should match the tox env list
77
- TOXENV=pypy
88
install: pip install coveralls tox
99
script: tox
10-
# Special snowflake. Our tests depend on making real commits.
1110
before_install:
12-
- git config --global user.name "Travis CI"
13-
- git config --global user.email "user@example.com"
1411
# Install git-lfs for a test
1512
- './get-git-lfs.py && export PATH="/tmp/git-lfs:$PATH"'
1613
after_success:

tox.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ envlist = py27,py34,py35,pypy
66
[testenv]
77
deps = -rrequirements-dev.txt
88
passenv = HOME HOMEPATH PROGRAMDATA
9+
setenv =
10+
GIT_AUTHOR_NAME = "test"
11+
GIT_COMMITTER_NAME = "test"
12+
GIT_AUTHOR_EMAIL = "test@example.com"
13+
GIT_COMMITTER_EMAIL = "test@example.com"
914
commands =
1015
coverage erase
1116
coverage run -m pytest {posargs:tests}

0 commit comments

Comments
 (0)