mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-01 14:30:27 -06:00
fixing build
This commit is contained in:
@@ -6,3 +6,8 @@ python:
|
||||
|
||||
install: pip install virtualenv
|
||||
script: make
|
||||
|
||||
|
||||
before_install:
|
||||
- git config --global user.name "Travis CI"
|
||||
- git config --global user.email "user@example.com"
|
||||
|
||||
@@ -14,7 +14,7 @@ def empty_git_dir(tmpdir):
|
||||
|
||||
def add_and_commit():
|
||||
local['git']['add', '.']()
|
||||
local['git']['commit', '-m', 'random commit', '--author', 'A U Thor <author@example.com>']()
|
||||
local['git']['commit', '-m', 'random commit']()
|
||||
|
||||
|
||||
@pytest.yield_fixture
|
||||
|
||||
Reference in New Issue
Block a user