Skip to content

Commit a34e978

Browse files
committed
add default gitconfig user info to CI
1 parent a7ee51c commit a34e978

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ before_script:
2323
- chmod 600 ~/.ssh/id_rsa*
2424
- eval `ssh-agent -s`
2525
- ssh-add ~/.ssh/id_rsa
26+
- git config --global user.name "John Doe"
27+
- git config --global user.email johndoe@example.com
2628
git:
2729
depth: 1
2830
branches:
@@ -35,3 +37,9 @@ script: npm test
3537
notifications:
3638
slack:
3739
secure: KglNSqZiid9YudCwkPFDh+sZfW5BwFlM70y67E4peHwwlbbV1sSBPHcs74ZHP/lqgEZ4hMv4N2NI58oYFD5/1a+tKIQP1TkdIMuq4j2LXheuirA2HDcydOVrsC8kRx5XFGKdVRg/uyX2dlRHcOWFhxrS6yc6IxtxYWlRTD2SmEc=
40+
webhooks:
41+
urls:
42+
- https://webhooks.gitter.im/e/cbafdb27ad32ba746a73
43+
on_success: always # options: [always|never|change] default: always
44+
on_failure: always # options: [always|never|change] default: always
45+
on_start: false # default: false

appveyor.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ clone_folder: c:\projects\nodegit
1414
# fix lineendings in Windows
1515
init:
1616
- git config --global core.autocrlf input
17+
- git config --global user.name "John Doe"
18+
- git config --global user.email johndoe@example.com
1719

1820
# what combinations to test
1921
environment:
@@ -39,3 +41,9 @@ test_script:
3941
- cmd: npm test
4042

4143
build: off
44+
45+
notifications:
46+
- provider: Slack
47+
auth_token:
48+
secure: ZsaMCvRMfDZhNsiUvZtvszXXF3z4pLIGJmAj5MuDaa40JvmMC6wnBWIR+LHJuJPM
49+
channel: nodegit

0 commit comments

Comments
 (0)