Skip to content

Commit 7971f72

Browse files
committed
tests: ditto
1 parent d7a5c6a commit 7971f72

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ before_install:
99
- sudo git config --global user.name "detailyang"
1010
script:
1111
- export PATH=/home/travis/.cabal/bin:$PATH
12-
- git config --global user.email "detailyang@gmail.com"
13-
- git config --global user.name "detailyang"
12+
- sudo git config --global user.email "detailyang@gmail.com"
13+
- sudo git config --global user.name "detailyang"
1414
- make test
1515
deploy:
1616
provider: releases

test/init.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ cp test/test.sh "$tmpdir"
1818
cp test/.pre-commit-config.yaml "$tmpdir"
1919
cp test/.pre-commit-hooks.yaml "$tmpdir"
2020
pushd "$tmpdir"
21-
git config --global user.email "detailyang@gmail.com"
22-
git config --global user.name "detailyang"
21+
sudo git config --global user.email "detailyang@gmail.com"
22+
sudo git config --global user.name "detailyang"
2323
git init
2424
git add .pre-commit-config.yaml .pre-commit-hooks.yaml --all ; git commit -a -m "init test case"
2525
pre-commit install

0 commit comments

Comments
 (0)