mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Fix test error "fatal: empty ident name (for <(null)>) not allowed"
Occurs when tests run with tox not with Travis CI or Appveyor Changed existing tox setenv statement to use whitespace around `=` as per http://tox.readthedocs.io/en/latest/example/basic.html#setting-environment-variables
This commit is contained in:
parent
8cd62452fe
commit
bdcbdc2e37
4 changed files with 20 additions and 14 deletions
|
|
@ -8,10 +8,7 @@ env: # These should match the tox env list
|
|||
- TOXENV=py27 LATEST_GIT=1
|
||||
install: pip install coveralls tox
|
||||
script: tox
|
||||
# Special snowflake. Our tests depend on making real commits.
|
||||
before_install:
|
||||
- git config --global user.name "Travis CI"
|
||||
- git config --global user.email "user@example.com"
|
||||
# Our tests inspect some of *our* git history
|
||||
- git fetch --unshallow
|
||||
- git --version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue